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.
Advisories
Source ID Title
Debian DSA Debian DSA DSA-2857-1 libspring-java security update
EUVD EUVD EUVD-2022-5814 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.
Github GHSA Github GHSA GHSA-xjrf-8x4f-43h4 Improper Neutralization of Input During Web Page Generation in Spring Framework
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 16 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00337}

epss

{'score': 0.00347}


cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2024-08-06T17:39:01.262Z

Reserved: 2013-11-04T00:00:00

Link: CVE-2013-6430

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2020-01-10T14:15:10.107

Modified: 2024-11-21T01:59:12.620

Link: CVE-2013-6430

cve-icon Redhat

Severity : Moderate

Publid Date: 2014-01-14T00:00:00Z

Links: CVE-2013-6430 - Bugzilla

cve-icon OpenCVE Enrichment

No data.