CVE-2026-41846
MEDIUM 6.1CVSS 3.1Spring Framework Cross-site Scripting via JSP Form Tags
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.
- Published
- 9 Jun 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security@vmware.com
- NVD status
- Analyzed
- Weakness
- CWE-79
- Also known as
- GHSA-957g-f97v-vppc
- Sources
- NVDJSONOSV GHSA-957g-f97v-vppcJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | security@vmware.com (Secondary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | vmware | spring_frameworkcpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:* |
>= 5.3.0, < 5.3.49 | 5.3.49 |
| NVD | vmware | spring_frameworkcpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:* |
>= 6.1.0, < 6.1.28 | 6.1.28 |
| NVD | vmware | spring_frameworkcpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:* |
>= 6.2.0, < 6.2.18.1 | 6.2.18.1 |
| NVD | vmware | spring_frameworkcpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:* |
>= 7.0.0, < 7.0.7.1 | 7.0.7.1 |
| OSV | Maven | org.springframework:spring-webmvc | >= 7.0.0, < 7.0.8 | 7.0.8 |
| OSV | Maven | org.springframework:spring-webmvc | >= 6.2.0, < 6.2.19 | 6.2.19 |
| OSV | Maven | org.springframework:spring-webmvc | >= 6.1.0, <= 6.1.21 | |
| OSV | Maven | org.springframework:spring-webmvc | <= 5.3.39 |
References
- https://spring.io/security/cve-2026-41846 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-41846 · ADVISORY
- https://github.com/spring-projects/spring-framework/commit/1829b42b9c45e780c268dd17863d9198d62154d3 · WEB
- https://github.com/spring-projects/spring-framework/commit/e8f10244e3859e8bb5b6be3823c9bbea2c130573 · WEB
- https://github.com/spring-projects/spring-framework · PACKAGE
- https://github.com/spring-projects/spring-framework/releases/tag/v6.2.19 · WEB
- https://github.com/spring-projects/spring-framework/releases/tag/v7.0.8 · WEB
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 9 Jun 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 9 Jun 2026)