Skip to main content
EPSS 0.3%top 85%

CVE-2026-59281: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Spring Spring Framework

0
Medium
Published: 08/27/2026 (08/27/2026, 17:57:37 UTC)
Source: CVE Database V5
Vendor/Project: Spring
Product: Spring Framework

Description

A reflected cross-site scripting (XSS) vulnerability exists in Spring Framework's MVC and WebFlux applications when rendering field errors with HTML escaping enabled using certain Errors accessors. This allows injection of arbitrary HTML or JavaScript code. The vulnerability affects multiple versions of Spring Framework from 5.2.25.RELEASE and earlier up to 7.0.8.

CVSS v3.1

Score 6.1medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected software

Spring

Spring Framework

Affected versions
>=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>=0 <=5.2.25.RELEASE

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/10/2026, 04:23:49 UTC

Technical Analysis

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. This results in a reflected cross-site scripting (XSS) vulnerability. Affected versions include Spring Framework 5.2.25.RELEASE and earlier, and all versions up to 7.0.8 in the 5.x, 6.0.x, 6.1.x, 6.2.x, and 7.0.x branches.

Potential Impact

An attacker can inject arbitrary HTML or JavaScript code into web pages rendered by vulnerable Spring Framework applications, potentially leading to reflected XSS attacks. This can result in limited confidentiality and integrity impacts, such as theft of user session data or manipulation of web content in the context of the victim's browser. There is no indication of availability impact or known exploitation in the wild.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are provided in the available data. Users should monitor Spring Framework advisories for updates addressing this vulnerability. Until a fix is available, avoid rendering field errors using the no-argument Errors.getFieldErrors() or Errors.getFieldError() accessors with HTML escaping enabled, or implement additional input validation and output encoding as a temporary mitigation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
vmware
Date Reserved
2026-07-04T18:13:26.297Z
State
PUBLISHED

Threat ID: 6a909cf5acd9273b49b2d018

Added to database: 08/27/2026, 20:24:21 UTC

Last enriched: 09/10/2026, 04:23:49 UTC

Last updated: 10/11/2026, 18:48:20 UTC

Views: 35

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses