What’s Vulnerable › Vulnerabilities
CVE-2013-6430
- Severity: medium (CVSS 5.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2020-01-10 · updated 2026-06-17
- Weakness: CWE-79
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 products
- Spring Framework: from 3.0.0 before 3.2.2 — fixed in 3.2.2
How to fix
Upgrade to a fixed version: Spring Framework 3.2.2. Check the vendor advisory for mitigations.
References
- http://www.gopivotal.com/security/cve-2013-6430
- https://github.com/spring-projects/spring-framework/commit/7a7df6637478607bef0277bf52a4e0a03e20a248
- https://jira.springsource.org/browse/SPR-9983
- http://www.gopivotal.com/security/cve-2013-6430
- https://github.com/spring-projects/spring-framework/commit/7a7df6637478607bef0277bf52a4e0a03e20a248
- https://jira.springsource.org/browse/SPR-9983
Get alerted when CVE-2013-6430 or the next vulnerability affects your stack