CVE-2026-59281: Spring Framework Cross-site Scripting via EscapedErrors
Vulnerability summary
CVE-2026-59281 is a medium (CVSS 6.1) vulnerability in spring spring framework. EPSS estimates a 0.18% chance of exploitation in the next 30 days, higher than 8.4% of scored vulnerabilities.
Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 27-08-2026PublishedVulnerability first disclosed.
- 28-08-2026Last modifiedVulnerability information updated.
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
CVSS metrics
7 scores · 7 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · DebianEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- NVDNIST6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · ChainguardEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · MavenEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · WolfiEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS trend
Probability
0.18%
Chance of exploitation in the next 30 days
Percentile
8%
Versus all other CVEs
30-day change
Decrease -0.07 pp
From 0.25% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard42 products
- apache-activemq-5.19All versions (No fix recorded)
- apache-activemq-6.2All versions (No fix recorded)
- apache-activemq-fips-5.19All versions (No fix recorded)
- apache-activemq-fips-6.2All versions (No fix recorded)
- apache-nifi-2.11All versions (No fix recorded)
Wolfi2 products
- thingsboard-tb-mqtt-transportAll versions (No fix recorded)
- thingsboard-tb-nodeAll versions (No fix recorded)
Debian1 product
- libspring-javaAll versions (No fix recorded)
Org.springframework1 product
- spring-web≥ 7.0.0-M1, < 7.0.9 | ≥ 6.2.0, ≤ 6.2.19 | ≥ 6.1.0, ≤ 6.1.21 | ≥ 6.0.0, ≤ 6.0.23 | ≥ 5.3.0, ≤ 5.3.39 | ≤ 5.2.25.RELEASE
Spring1 product
- spring framework≥ 7.0.0, ≤ 7.0.8 | ≥ 6.2.0, ≤ 6.2.19 | ≥ 6.1.0, ≤ 6.1.28 | ≥ 6.0.0, ≤ 6.0.30 | ≥ 5.3.0, ≤ 5.3.49 | ≤ 5.2.25.RELEASE
Ubuntu1 product
- libspring-javaAll versions (No fix recorded)
Vmware1 product
- spring_framework< 5.2.26 | ≥ 5.3.0, < 5.3.50 | ≥ 6.0.0, < 6.0.31 | ≥ 6.1.0, < 6.1.29 | ≥ 6.2.0, < 6.2.20 | ≥ 7.0.0, < 7.0.8.1
7 vendors · 49 products