CVE-2013-6430
Improper Neutralization of Input During Web Page Generation in Spring Framework
Reported by redhat · Published January 10, 2020
spring-web is fixed in 3.2.2.RELEASE (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.springframework:spring-web | Maven Central | 3.2.2.RELEASE |
| org.springframework:spring-oxm | Maven Central | 3.2.2 |
| org.springframework:spring-webmvc | Maven Central | 3.2.2 |
| spring_framework | pivotal_software | 3.2.2 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Pivotal | Spring MVC | before 3.2.2 |
| Maven | org.springframework:spring-web | 0 |
| Pivotal | Spring MVC | 3.2.2 |
| Maven | org.springframework:spring-oxm | 3.0.0 |
| Maven | org.springframework:spring-webmvc | 3.0.0 |
Timeline
- Jan 10, 2020 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Aug 6, 2024 CVE Updated
- Mar 17, 2026 Security Advisory
- Oct 22, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2013-6430
vulnetix vdb fixes CVE-2013-6430
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2013-6430/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- https://bugzilla.redhat.com/CVE-2013-6430 url
- https://nvd.nist.gov/vuln/detail/CVE-2013-6430 advisory
- https://github.com/advisories/GHSA-xjrf-8x4f-43h4 advisory
- https://github.com/spring-projects/spring-framework/issues/14617 url
- https://github.com/spring-projects/spring-framework/commit/9982b4c01a8c7be0961e58b58ed83731c40449ff patch
- https://github.com/spring-projects/spring-framework/commit/f5c9fe69a444607af667911bd4c5074b5b073e7b patch
- https://github.com/spring-projects/spring-framework url
- https://jira.spring.io/browse/SPR-9983?redirect=false url
- https://spring.io/security/cve-2013-6430 url