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

- Severity: Medium 6.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 10% of CVEs (2026-11-30)
- Published: 2026-08-27T17:57:37.157Z
- Modified: 2026-09-02T16:58:12.500Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: vmware

## Description

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

(As written by CVE List.)

## Affected

- Spring Spring Framework: from 7.0.0 up to 7.0.8; from 6.2.0 up to 6.2.19; from 6.1.0 up to 6.1.28; from 6.0.0 up to 6.0.30; from 5.3.0 up to 5.3.49; up to 5.2.25.RELEASE
- vmware spring_framework: before 5.2.26; from 5.3.0 before 5.3.50; from 6.0.0 before 6.0.31; from 6.1.0 before 6.1.29; from 6.2.0 before 6.2.20; from 7.0.0 before 7.0.8.1

## References

- <https://spring.io/security/cve-2026-59281> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-59281](https://www.cve.org/CVERecord?id=CVE-2026-59281), CVE Terms of Use, modified 2026-08-28
- NVD: [CVE-2026-59281](https://nvd.nist.gov/vuln/detail/CVE-2026-59281), Public domain, modified 2026-09-02

---

Page: https://cve.day/CVE-2026-59281 · Whole record: https://cve.day/CVE-2026-59281.json · Rebuilt by cve.day 2026-11-25T22:59:35.531Z
