CVE-2026-41845
High
Description
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.
SeverityHigh
CVSS7.1
Exploit probability—
Product
Vmware Spring Framework
PublishedJun 9, 2026
First seenJun 9, 2026
Weakness typeCWE-79Cross-site scripting (XSS)
How to fix
Update
- vmware spring_framework5.3.49, 6.1.28, 6.2.18.1, 7.0.7.1 or later
- org.springframework:spring-webmvc7.0.8, 6.2.19 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| vmware spring_framework | 5.3.0 ≤ v < 5.3.49, 6.1.0 ≤ v < 6.1.28, 6.2.0 ≤ v < 6.2.18.1, 7.0.0 ≤ v < 7.0.7.1 | 5.3.49, 6.1.28, 6.2.18.1, 7.0.7.1 |
| org.springframework:spring-webmvcMaven | 7.0.0 ≤ v < 7.0.8, 6.2.0 ≤ v < 6.2.19, 6.1.0 ≤ v ≤ 6.1.21, v ≤ 5.3.39 | 7.0.8, 6.2.19 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.