CVE-2026-59281

Spring Framework Cross-site Scripting via EscapedErrors

MEDIUM
6.1
CVSS Score
Published: August 27, 2026 at 05:57 PM UTC
Updated: September 2, 2026 at 05:12 PM UTC
2 products affected across 2 vendorsSpring FrameworkSpring Framework

Using Spring Framework by Spring?

Get instant alerts when new vulnerabilities affect Spring Framework - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.1
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 5.2.265.3.0 ≤ v < 5.3.506.0.0 ≤ v < 6.0.316.1.0 ≤ v < 6.1.296.2.0 ≤ v < 6.2.207.0.0 ≤ v < 7.0.8.1
Affected range stops below 5.2.26, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.3.50, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.0.31, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.1.29, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.2.20, so it looks safe — our inference, not a vendor statement
Affected range stops below 7.0.8.1, so it looks safe — our inference, not a vendor statement
v ≤ 5.2.25.RELEASE5.3.0 ≤ v ≤ 5.3.496.0.0 ≤ v ≤ 6.0.306.1.0 ≤ v ≤ 6.1.286.2.0 ≤ v ≤ 6.2.197.0.0 ≤ v ≤ 7.0.85.3.06.0.06.1.06.2.07.0.0

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

Patch and advisory references

References (1)

Vendor Advisory
Source: cverecord
https://spring.io/security/cve-2026-59281

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

6.1MEDIUMCISA-ADP
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-79

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card