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)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework » spring-web | < 3.2.2.RELEASE | 3.2.2.RELEASE |
Blast radius
51% of the dependent artifacts (5,540) still pull an affected version in their latest release.
| Depth | Dependent 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
- org.springframework » spring-test12,234 usages
- org.springframework » spring-webmvc7,538 usages
- org.springframework.security » spring-security-core3,214 usages
- org.springframework » spring-orm3,194 usages
- org.springframework.security » spring-security-web2,133 usages
- org.springframework.security » spring-security-config2,063 usages
- org.wso2.carbon » org.wso2.carbon.core1,598 usages
- org.apache.axis2.wso2 » axis21,425 usages
- org.apache.cxf » cxf-rt-frontend-jaxws1,379 usages
- org.apache.cxf » cxf-rt-transports-http1,281 usages
- org.apache.cxf » cxf-rt-frontend-jaxrs1,257 usages
- net.sf.ehcache » ehcache1,234 usages
- org.springframework » spring-aspects1,205 usages
- org.jenkins-ci.main » jenkins-core1,191 usages
- org.wso2.carbon » org.wso2.carbon.utils1,179 usages
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.
References
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2013-6430
- Webhttps://github.com/spring-projects/spring-framework/issues/14617
- Webhttps://github.com/spring-projects/spring-framework/commit/7a7df6637478607bef0277bf52a4e0a03e20a248
- Webhttps://github.com/spring-projects/spring-framework/commit/9982b4c01a8c7be0961e58b58ed83731c40449ff
- Webhttps://github.com/spring-projects/spring-framework/commit/f5c9fe69a444607af667911bd4c5074b5b073e7b
- Packagehttps://github.com/spring-projects/spring-framework
- Webhttps://jira.spring.io/browse/SPR-9983?redirect=false
- Webhttps://spring.io/security/cve-2013-6430
