# CVE-2026-41846: Spring Framework Cross-site Scripting via JSP Form Tags

- Priority: **Routine**
- Reason: Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-06-09 · Modified: 2026-06-27
- Aliases: UBUNTU-CVE-2026-41846, DEBIAN-CVE-2026-41846, CGA-4xpc-873j-wp2f, CGA-pjgv-h7vf-6485, CGA-2qcj-fq8j-36w3, CGA-35jf-w7m4-h6fg, CGA-3f92-mrhh-7vh9, CGA-63xq-gwh2-9rq7, CGA-7p2f-v8rq-3fc4, CGA-7rj3-r839-vrgq, CGA-8vrg-3r8x-fjfx, CGA-c2cx-j2m9-gh7f, CGA-fcvh-r29q-jq8r, CGA-j23x-3449-g23c, CGA-m8x5-c7g9-mp5p, CGA-mx6g-33f8-5294, CGA-p8rw-j2p7-c345, CGA-pcqx-x7px-xqpj, CGA-pqfg-pmgh-r9f9, GHSA-957g-f97v-vppc, CGA-q265-8q46-jx8v, CGA-q3j3-m84m-qjmh, CGA-qrfg-qmgg-w64q, CGA-qw7w-r8hj-2v45, CGA-r7fp-7rj8-qv56, CGA-rxwm-f9wm-hf8f, CGA-w2m9-pr9v-8wrx, CGA-w54p-hxxj-8qfw, CGA-wmcj-pmq6-wr48, CGA-xfw6-32h6-49vf
- Record: https://cvemate.com/vulnerability/CVE-2026-41846 · JSON: https://cvemate.com/vulnerability/CVE-2026-41846/json

## Description

```text
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.
```

## Signals

- CVSS: 6.1 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS: 0.152%, percentile 4.51%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard apache-activemq-5.19 (Chainguard): All versions (No fix recorded)
- chainguard apache-activemq-6.2 (Chainguard): \< 6.2.8-r2
- chainguard apache-activemq-fips-5.19 (Chainguard): All versions (No fix recorded)
- chainguard apache-activemq-fips-6.2 (Chainguard): \< 6.2.8-r4
- chainguard apache-nifi-registry (Chainguard): \< 2.10.0-r4 \| \< 2.10.0-r3
- chainguard camunda-8.9 (Chainguard): \< 8.9.13-r3
- chainguard camunda-zeebe-8.6 (Chainguard): All versions (No fix recorded)
- chainguard camunda-zeebe-8.9 (Chainguard): \< 8.9.13-r2
- chainguard geoserver-2.27 (Chainguard): All versions (No fix recorded)
- chainguard geoserver-2.28 (Chainguard): All versions (No fix recorded)
- chainguard kayenta-2025.2 (Chainguard): All versions (No fix recorded)
- chainguard kayenta-fips-2025.2 (Chainguard): All versions (No fix recorded)
- chainguard ontop (Chainguard): All versions (No fix recorded)
- chainguard ontop-fips (Chainguard): All versions (No fix recorded)
- wolfi apache-nifi-registry (Wolfi): \< 2.10.0-r4 \| \< 2.10.0-r3
- debian libspring-java (Debian): All versions (No fix recorded)
- ubuntu libspring-java (Ubuntu): All versions (No fix recorded)
- org.springframework spring-webmvc (Maven): ≥ 7.0.0, \< 7.0.8 \| ≥ 6.2.0, \< 6.2.19 \| ≥ 6.1.0, ≤ 6.1.21 \| ≤ 5.3.39
- spring spring framework: ≥ 7.0.0, \< 7.0.7.1 \| ≥ 6.2.0, \< 6.2.18.1 \| ≥ 6.1.0, \< 6.1.28 \| ≥ 5.3.0, \< 5.3.49
- vmware spring\_framework: ≥ 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.1

## References

- <https://spring.io/security/cve-2026-41846>
- <https://ubuntu.com/security/CVE-2026-41846>
- <https://www.cve.org/CVERecord?id=CVE-2026-41846>
- <https://security-tracker.debian.org/tracker/CVE-2026-41846>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-41846>
- <https://github.com/spring-projects/spring-framework/commit/1829b42b9c45e780c268dd17863d9198d62154d3>
- <https://github.com/spring-projects/spring-framework/commit/e8f10244e3859e8bb5b6be3823c9bbea2c130573>
- <https://github.com/spring-projects/spring-framework>
- <https://github.com/spring-projects/spring-framework/releases/tag/v6.2.19>
- <https://github.com/spring-projects/spring-framework/releases/tag/v7.0.8>

---

Data as of 2026-12-05T04:58:58.663Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
