CVSS 3.1
6.1 mediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NMedium (6.1) in vmware spring framework. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NExplain CVE-2026-59281 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-59281?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-59281?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-59281 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Spring Framework | from 7.0.0 through 7.0.8 |
| Spring Framework | from 6.2.0 through 6.2.19 |
| Spring Framework | from 6.1.0 through 6.1.28 |
| Spring Framework | from 6.0.0 through 6.0.30 |
| Spring Framework | from 5.3.0 through 5.3.49 |
| Spring Framework | through 5.2.25.RELEASE |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13, 14 | libspring-java | no fix listed | DEBIAN-CVE-2026-59281 |
| Ubuntu | 26.04:LTS, 26.10, Pro:14.04:LTS and 5 more | libspring-java | no fix listed | UBUNTU-CVE-2026-59281 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.
Red Hat rates this Moderate.
A cross-site scripting (XSS) vulnerability was found in the Spring Framework EscapedErrors wrapper. In versions 7.0.0 through 7.0.8, 6.2.0 through 6.2.19, 6.1.0 through 6.1.28, 6.0.0 through 6.0.30, 5.3.0 through 5.3.49, and 5.2.25.RELEASE and earlier, 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 and JavaScript code injection. The EscapedErrors wrapper's no argument accessors return the underlying field errors without escaping them, allowing attackers to inject malicious content that executes when the page is rendered, potentially resulting in reflected cross-site scripting attacks. This vulnerability was introduced in 2006 with Spring Framework 2.0. Red Hat ships Spring Framework version 2.x in Fedora, a community-supported distribution, which is affected by this vulnerability but is out of Red Hat's commercial support scope.
Red Hat does not provide fixes for Spring Framework in Fedora, as it is a community-supported product outside of Red Hat's commercial support scope. Fedora users should monitor upstream Spring Framework releases and community package updates.
For customers using Spring Framework in custom applications or third-party software, the following mitigations are available:
1. Upgrade to Spring Framework 7.0.9 or later if using the 7.0.x line. Note that Spring Framework versions 4.3.x, 5.3.x, 6.1.x, and 6.2.x have reached end-of-life and will not receive public security updates.
2. If immediate upgrade is not possible, reduce exposure by rendering field errors through the per-field getFieldErrors(String field) and getFieldError(String field) accessors, or through getAllErrors(), which are escaped correctly.
3. Alternatively, explicitly HTML-escape the rejectedValue and defaultMessage of each field error in the template rather than relying on the wrapper to perform escaping.
4. Implement Content Security Policy (CSP) headers to provide an additional layer of defense against XSS attacks.
5. Review application code to identify uses of the no-argument Errors.getFieldErrors() or Errors.getFieldError() methods and replace them with the safer per-field accessors.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat build of Apache Camel - HawtIO 4 | spring-webmvc | Fix deferred | |
| Red Hat Enterprise Linux 8 | pki-core:10.6/resteasy | Fix deferred | |
| Red Hat Enterprise Linux 8 | pki-deps:10.6/resteasy | Fix deferred | |
| Red Hat Enterprise Linux 9 | resteasy | Fix deferred | |
| Red Hat Fuse 7 | spring-webflux | Out of support scope | |
| Red Hat Fuse 7 | spring-webmvc | Out of support scope | |
| Red Hat OpenShift Dev Spaces | devspaces/openvsx-rhel9 | Fix deferred | |
| Red Hat OpenShift Dev Spaces | devspaces/pluginregistry-rhel9 | Fix deferred | |
| Red Hat Single Sign-On 7 | spring-webmvc | Out of support scope |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-59281.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.