Cross-site Scripting (XSS) Affecting org.springframework:spring-web package, versions [3.0.0.RELEASE, 3.2.2.RELEASE)


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.07% (32nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORK-30161
  • published25 Dec 2016
  • disclosed25 Dec 2016
  • creditJon Passki, Arun Neelicattu

Introduced: 25 Dec 2016

CVE-2013-6430  (opens in a new tab)
CWE-79  (opens in a new tab)
First added by Snyk

How to fix?

Upgrade org.springframework:spring-web to version 3.2.2.RELEASE or higher.

Overview

org.springframework:spring-web package that provides a comprehensive programming and configuration model for modern Java-based enterprise applications - on any kind of deployment platform.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS). The JavaScriptUtils.javaScriptEscape() method did not escape all characters that are sensitive within either a JS single quoted string, JS double quoted string, or HTML script data context. In most cases this will result in an unexploitable parse error but in some cases it could result in an XSS vulnerability.

Details

CVSS Scores

version 3.1