CVE-2026-41845
Received
Received - Intake
JavaScript Code Injection in Spring Framework
Publication date: 2026-06-09
Last updated on: 2026-06-09
Assigner: VMware
Description
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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| vmware | spring_framework | From 5.3.0 (inc) to 5.3.48 (inc) |
| vmware | spring_framework | From 6.1.0 (inc) to 6.1.27 (inc) |
| vmware | spring_framework | From 6.2.0 (inc) to 6.2.18 (inc) |
| vmware | spring_framework | From 7.0.0 (inc) to 7.0.7 (inc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-79 | The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. |