CVE-2026-41846
Published:June 09, 2026
Updated:June 09, 2026
Spring MVC applications which accept user-supplied values in the cssClass, cssErrorClass, or cssStyle attributes of JSP form tags allow arbitrary HTML/JavaScript code injection, 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) >=v6.2.0 <v6.2.19Fix Suggestion:
Update to version v6.2.19https://github.com/spring-projects/spring-framework.git (GITHUB):
Affected version(s) >=v7.0.0 <v7.0.8Fix Suggestion:
Update to version v7.0.8org.springframework:spring-webmvc (JAVA):
Affected version(s) >=6.2.0 <6.2.19Fix Suggestion:
Update to version 6.2.19org.springframework:spring-webmvc (JAVA):
Affected version(s) >=7.0.0 <7.0.8Fix Suggestion:
Update to version 7.0.8Related Resources (1)
Do you need more information?
Contact UsCVSS v4
Base Score:
6
Attack Vector
NETWORK
Attack Complexity
HIGH
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:
5.9
Attack Vector
NETWORK
Attack Complexity
HIGH
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