CVE-2026-41846
Spring Framework Cross-site Scripting via JSP Form Tags
CVSS Score
5.9
EPSS Score
0.0%
EPSS Percentile
10th
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.
| CWE | CWE-79 |
| Vendor | spring |
| Product | spring framework |
| Ecosystems | |
| Industries | TechnologyEnterprise |
| Published | Jun 9, 2026 |
| Last Updated | Jun 9, 2026 |
Stay Ahead of the Next One
Get instant alerts for spring spring framework
Be the first to know when new medium vulnerabilities affecting spring spring framework are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
None
Affected Versions
Spring / Spring Framework
7.0.0 < 7.0.8 6.2.0 < 6.2.19 6.1.0 < 6.1.28 5.3.0 < 5.3.49