CVE-2013-6430
MEDIUM 5.4CVSS 3.1Improper Neutralization of Input During Web Page Generation in Spring Framework
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.
- Published
- 10 Jan 2020
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-xjrf-8x4f-43h4
- Sources
- NVDJSONOSV GHSA-xjrf-8x4f-43h4JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | pivotal_software | spring_frameworkcpe:2.3:a:pivotal_software:spring_framework:*:*:*:*:*:*:*:* |
>= 3.0.0, < 3.2.2 | 3.2.2 |
| OSV | Maven | org.springframework:spring-web | < 3.2.2.RELEASE | 3.2.2.RELEASE |
References
- http://www.gopivotal.com/security/cve-2013-6430 · Third Party Advisory
- https://github.com/spring-projects/spring-framework/commit/7a7df6637478607bef0277bf52a4e0a03e20a248 · Patch, Third Party Advisory, WEB
- https://jira.springsource.org/browse/SPR-9983 · Third Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2013-6430 · ADVISORY
- https://github.com/spring-projects/spring-framework/issues/14617 · WEB
- https://github.com/spring-projects/spring-framework/commit/9982b4c01a8c7be0961e58b58ed83731c40449ff · WEB
- https://github.com/spring-projects/spring-framework/commit/f5c9fe69a444607af667911bd4c5074b5b073e7b · WEB
- https://github.com/spring-projects/spring-framework · PACKAGE
- https://jira.spring.io/browse/SPR-9983?redirect=false · WEB
- https://spring.io/security/cve-2013-6430 · WEB
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 10 Jan 2020)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 5 May 2022)