MODERATE 5.4

CVE-2013-6430

Improper Neutralization of Input During Web Page Generation in Spring Framework

Description

The JavaScriptUtils.javaScriptEscape method in web/util/JavaScriptUtils.java in Spring MVC in Spring Framework before 3.2.2 does not properly escape certain characters, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a (1) line separator or (2) paragraph separator Unicode character or (3) left or (4) right angle bracket.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.springframework » spring-web
< 3.2.2.RELEASE
3.2.2.RELEASE

Blast radius

1affected artifacts
118affected versions
10,805dependent artifacts (est.)
778,211dependent versions

51% of the dependent artifacts (5,540) still pull an affected version in their latest release.

DepthDependent versions
Direct
23,186
2 hops
117,748
3 hops
265,465
4 hops
211,080
5 hops
106,712
6 hops
54,020

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.