CVE-2026-41846

published 9 Jun 2026 · updated 27 Jun 2026

Spring Framework Cross-site Scripting via JSP Form Tags

5.9MediumCVSS 5.9EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 5.3.49, 6.1.28, 6.2.18.1 and 1 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Spring>=5.3.0 <5.3.49, >=6.1.0 <6.1.28, >=6.2.0 <6.2.18.1, >=7.0.0 <7.0.7.15.3.49, 6.1.28, 6.2.18.1, 7.0.7.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-41846 severity on Zeptric[![CVE-2026-41846](https://zeptric.io/badge/cve/CVE-2026-41846.svg)](https://zeptric.io/cve/CVE-2026-41846)