CVE-2026-41845
Published:June 09, 2026
Updated:June 09, 2026
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 Packages
https://github.com/spring-projects/spring-framework.git (GITHUB):
Affected version(s) >=v7.0.0 <v7.0.8Fix Suggestion:
Update to version v7.0.8https://github.com/spring-projects/spring-framework.git (GITHUB):
Affected version(s) >=v6.2.0 <v6.2.19Fix Suggestion:
Update to version v6.2.19org.springframework:spring-web (JAVA):
Affected version(s) >=7.0.0 <7.0.8Fix Suggestion:
Update to version 7.0.8org.springframework:spring-web (JAVA):
Affected version(s) >=6.2.0 <6.2.19Fix Suggestion:
Update to version 6.2.19Related Resources (1)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
EPSS
Base Score:
0.03