# CVE-2026-41845: Spring Framework Cross-site Scripting via JavaScriptUtils

> CVE-2026-41845: Spring Framework Cross-site Scripting via JavaScriptUtils. CVSS 7.1 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2026-41845
Last updated: 2026-07-23T08:10:00Z

- Published: 2026-06-09 03:50 UTC · Updated: 2026-07-23 08:10 UTC · Assigner: vmware
- CVSS: 7.1 (CVSS 3.1) · Severity: High · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
- EPSS: 0.16%, 5th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-79

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

## Affected vendors and products

- Spring: Spring Framework

## Tracked companies

- [Confluence](https://rewindex.com/company/confluence.md)
- [Jira](https://rewindex.com/company/jira.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-41845)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-41845)
- [https://spring.io/security/cve-2026-41845](https://spring.io/security/cve-2026-41845)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-41845 · Markdown: https://rewindex.com/cve/CVE-2026-41845.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-41845 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T03:09:14.857Z
