# CVE-2026-59281: Spring Framework Cross-site Scripting via EscapedErrors

- Priority: **Routine**
- Reason: Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-08-27 · Modified: 2026-08-28
- Aliases: UBUNTU-CVE-2026-59281, DEBIAN-CVE-2026-59281, CGA-7g4h-wj2f-q286, GHSA-549f-4rpc-3rw9, CGA-3vpq-jp8m-77p5, CGA-9cpj-rvqc-7c9m, CGA-pf9w-6jr7-387p, CGA-pg5m-cmfm-7c7c, CGA-236j-r88r-rx5h, CGA-276p-mhfh-p6j4, CGA-3883-j4xw-2gfp, CGA-38hh-xvrw-p9cg, CGA-3f5j-2wmv-m7xq, CGA-3jm5-xpvc-889r, CGA-3xh6-qr6g-879h, CGA-4v54-rqqm-82qv, CGA-4xrh-7577-q88m, CGA-58xj-jc9c-xwjm, CGA-5f3c-632w-48mc, CGA-5mmm-rh8j-pccr, CGA-6m75-jq29-fmqw, CGA-7929-cqr3-wp59, CGA-7mm2-4qmf-xv76, CGA-88x6-wxjv-v3gg, CGA-8j6f-qr9h-grhg, CGA-ffgh-vvj8-2q3h, CGA-fp58-4689-9qjp, CGA-gjpx-j4jv-2528, CGA-hh48-39g6-g36j, CGA-mxwj-m9f3-6p8f, CGA-rj5p-qq78-vf4f, CGA-wpmf-3g3q-f384, CGA-xg35-hqmj-3jxf, CGA-xqcc-jwc3-fq57, CGA-33gh-86m7-c64h, CGA-43j4-r8r3-86m2, CGA-52rx-mwj9-xm28, CGA-538m-j4fp-5vvq, CGA-56wc-hh57-8r6m, CGA-63mc-99p5-pfxf, CGA-6m6r-37f8-2wwj, CGA-735q-h5v8-fxr3, CGA-7j3j-qmxm-pvm7, CGA-7rgr-47x5-w5m6, CGA-7x3f-6qqx-fwgm, CGA-85x3-2382-m2xh, CGA-8c6f-h43v-q5mc, CGA-8jqp-6973-rhj5, CGA-96gm-hrpw-5j7c, CGA-9mj8-p8cw-qvq2, CGA-c3m4-xqc7-wjjm, CGA-c594-64fj-m79f, CGA-c5g8-xpr6-6r49, CGA-c857-cr67-rw3g, CGA-f74x-hmgj-m47p, CGA-f8gc-546c-c7rq, CGA-fjcj-vc3c-gwpj, CGA-fq6p-g8j5-7hmf, CGA-gc73-mr3w-xr48, CGA-gp7q-3vq8-9v4m, CGA-gwfc-qc49-5585, CGA-hcvj-rqmv-m777, CGA-hhrj-9q6j-xgxj, CGA-hrgj-74gc-95w3, CGA-j3g9-h9fg-8gqx, CGA-j3r6-6m64-6wm2, CGA-mgfg-jq5c-rv2j, CGA-p445-48v4-4xw9, CGA-pvv9-gg9j-f4f4, CGA-q378-7c82-fqm4, CGA-qx95-9p9g-38qc, CGA-qx98-2x2x-2m28, CGA-r4wf-9f25-mcm8, CGA-rqjq-m9v5-wpqc, CGA-w3pw-pwfh-rpmf, CGA-w3x9-jjq9-rq38, CGA-w94p-56h5-8jq4, CGA-c2x8-jvrx-8gg3
- Record: https://cvemate.com/vulnerability/CVE-2026-59281 · JSON: https://cvemate.com/vulnerability/CVE-2026-59281/json

## Description

```text
Spring MVC and WebFlux applications that obtain a data-binding Errors instance with HTML escaping enabled and then render field errors using the no-argument Errors.getFieldErrors() or Errors.getFieldError() accessors are vulnerable to arbitrary HTML/JavaScript code injection, potentially resulting in a reflected cross-site scripting (XSS) vulnerability.
Spring Framework 7.0.0 - 7.0.8
Spring Framework 6.2.0 - 6.2.19
Spring Framework 6.1.0 - 6.1.28
Spring Framework 6.0.0 - 6.0.30
Spring Framework 5.3.0 - 5.3.49
Spring Framework 5.2.25.RELEASE and earlier
```

## Signals

- CVSS: 6.1 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS: 0.185%, percentile 8.46%, 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 (first 20 of 49)

- chainguard apache-activemq-5.19 (Chainguard): All versions (No fix recorded)
- chainguard apache-activemq-6.2 (Chainguard): All versions (No fix recorded)
- chainguard apache-activemq-fips-5.19 (Chainguard): All versions (No fix recorded)
- chainguard apache-activemq-fips-6.2 (Chainguard): All versions (No fix recorded)
- chainguard apache-nifi-2.11 (Chainguard): All versions (No fix recorded)
- chainguard apache-nifi-registry-2.11 (Chainguard): All versions (No fix recorded) \| \< 2.11.0-r12
- chainguard apache-nifi-registry-2.11-toolkit (Chainguard): All versions (No fix recorded) \| \< 2.11.0-r12
- chainguard camunda-8.8 (Chainguard): All versions (No fix recorded)
- chainguard camunda-zeebe-8.6 (Chainguard): All versions (No fix recorded)
- chainguard camunda-zeebe-8.7 (Chainguard): All versions (No fix recorded)
- chainguard camunda-zeebe-8.8 (Chainguard): All versions (No fix recorded)
- chainguard conductor-fips (Chainguard): All versions (No fix recorded) \| \< 3.34.8-r0 \| \< 3.34.10-r0
- chainguard data-prepper (Chainguard): All versions (No fix recorded)
- chainguard data-prepper-fips (Chainguard): All versions (No fix recorded)
- chainguard geoserver-2.27 (Chainguard): All versions (No fix recorded)
- chainguard geoserver-2.27-community (Chainguard): All versions (No fix recorded)
- chainguard geoserver-2.28 (Chainguard): All versions (No fix recorded)
- chainguard geoserver-2.28-community (Chainguard): All versions (No fix recorded)
- chainguard jenkins-2.555 (Chainguard): All versions (No fix recorded)
- chainguard jenkins-2.555-openjdk-25 (Chainguard): All versions (No fix recorded)

## References

- <https://spring.io/security/cve-2026-59281>
- <https://ubuntu.com/security/CVE-2026-59281>
- <https://www.cve.org/CVERecord?id=CVE-2026-59281>
- <https://security-tracker.debian.org/tracker/CVE-2026-59281>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59281.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-59281>
- <https://github.com/spring-projects/spring-framework/issues/37055>
- <https://github.com/spring-projects/spring-framework/commit/8cb1151375d2e22e14f3406e05f99fc333a618f7>
- <https://github.com/spring-projects/spring-framework/commit/ac0f8be0d821d0a51f02b4ef504755ff35ccd464>
- <https://github.com/spring-projects/spring-framework>
- <https://github.com/spring-projects/spring-framework/releases/tag/v7.0.9>

---

Data as of 2026-12-05T03:08:52.073Z. 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
