Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.springframework/spring-web
  4. ›
  5. CVE-2013-6430

CVE-2013-6430: Improper Neutralization of Input During Web Page Generation in Spring Framework

May 5, 2022 (updated July 3, 2025)

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.

References

  • github.com/advisories/GHSA-xjrf-8x4f-43h4
  • github.com/spring-projects/spring-framework
  • github.com/spring-projects/spring-framework/commit/7a7df6637478607bef0277bf52a4e0a03e20a248
  • github.com/spring-projects/spring-framework/commit/9982b4c01a8c7be0961e58b58ed83731c40449ff
  • github.com/spring-projects/spring-framework/commit/f5c9fe69a444607af667911bd4c5074b5b073e7b
  • github.com/spring-projects/spring-framework/issues/14617
  • jira.spring.io/browse/SPR-9983?redirect=false
  • nvd.nist.gov/vuln/detail/CVE-2013-6430
  • spring.io/security/cve-2013-6430

Code Behaviors & Features

Detect and mitigate CVE-2013-6430 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 3.2.2.RELEASE

Fixed versions

  • 3.2.2.RELEASE

Solution

Upgrade to version 3.2.2.RELEASE or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

maven/org.springframework/spring-web/CVE-2013-6430.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:44 +0000.