Spring Framework
Spring Framework Cross-site Scripting via JavaScriptUtils
Due to incorrect escaping, the use of JavaScriptUtils.javaScriptEscape() may lead to JavaScript code injection in the browser, potentially resulting in a cross-site scripting (XSS) vulnerability. Affected versions: Spring Framework 7.0.0 through 7.0.7; 6.2.0 through 6.2.18; 6.1.0 through 6.1.27; 5.3.0 through 5.3.48.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.1high · scored by CNA · CWE-79
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Spring Spring Framework
- >= 7.0.0, < 7.0.7.1
- >= 6.2.0, < 6.2.18.1
- >= 6.1.0, < 6.1.28
- >= 5.3.0, < 5.3.49
Fixed in 7.0.7.1, 6.2.18.1, 6.1.28, 5.3.49
Mitigation
Upgrade Spring Framework to 7.0.7.1 or 6.2.18.1 or 6.1.28 or 5.3.49 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.