Skip to main content
VulnerabilityPublished

CVE-2026-59281: Spring Framework · Cross-site Scripting

Affects Spring FrameworkSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 6.1 Medium.

Data as of 25 Nov 2026, 14:04 UTC

CVSS 3.1 base score
6.1Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 10% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 27 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 25 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
SpringSpring FrameworkAffected
  • >=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
Fixed in–

AI-suggested

Until an official fix is available, review application code to avoid rendering field errors using the no-argument Errors.getFieldErrors() or Errors.getFieldError() methods with HTML escaping enabled. Consider applying input validation or output encoding as a temporary mitigation.

Description

CVE-2026-59281 is a reflected cross-site scripting (XSS) vulnerability in the Spring Framework affecting multiple versions from 5.2.25.RELEASE through 7.0.8. The issue arises when Spring MVC and WebFlux applications obtain a data-binding Errors instance with HTML escaping enabled and render field errors using certain accessors, allowing injection of arbitrary HTML or JavaScript code.

References

Community reviews

Loading reviews…