Skip to main content

Spring Framework CVE-2026-59281

| EUVDEUVD-2026-67170 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-08-27 vmware GHSA-549f-4rpc-3rw9
6.1
CVSS 3.1 · Vendor: vmware
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify vulnerable Spring endpoint rendering field errors
  2. Delivery
    Craft URL with injected script payload in form field parameter
  3. Exploit
    Deliver link to victim via phishing or redirect
  4. Execution
    Victim browser submits crafted request to application
  5. Persist
    Application reflects unsanitized field error in HTML response
  6. Impact
    Injected script executes in victim's browser context

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires three concurrent server-side conditions: (1) the application uses Spring MVC or Spring WebFlux for request handling, (2) HTML escaping is explicitly enabled in the application's data-binding or view configuration, and (3) the application calls the no-argument Errors.getFieldErrors() or Errors.getFieldError() accessors when rendering field error output to the response. Exploitation is additionally limited by the requirement for victim user interaction (UI:R) - the victim must follow a crafted URL. Applications that use argument-bearing error accessor overloads, that do not enable HTML escaping, or that do not render raw field errors in responses are not exploitable. Authentication is not required from an attacker perspective (PR:N in CVSS); any user capable of submitting a URL to a victim is positioned to attempt the attack against a vulnerable endpoint.

Impact

The CVSS 6.1 medium score accurately captures the moderate real-world risk profile. The vector AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N indicates the vulnerability is network-reachable with low attack complexity but requires victim interaction (clicking a crafted link), which limits mass exploitation. EPSS at 0.17% (7th percentile) is notably low, suggesting no meaningful exploitation pipeline has emerged. The vulnerability is not listed in CISA KEV, and no public exploit or POC code has been identified at time of analysis. However, the affected version range is exceptionally broad - spanning every major Spring Framework release train including the still-common 5.3.x and 6.x lines - which amplifies aggregate exposure across the Java enterprise ecosystem. The narrow exploitation conditions (HTML escaping must be enabled AND the specific no-arg accessors must be used) represent a real-world limiter: not all Spring applications will meet both criteria simultaneously, making this a medium-priority patch rather than an emergency response item. No conflicting signals exist between CVSS and the description - both consistently point to a reflected XSS requiring user interaction.

Exploit ScenarioDerived

An attacker identifies a Spring MVC application with HTML escaping enabled that renders field validation errors using the vulnerable no-arg accessors. The attacker crafts a URL containing a malicious JavaScript payload embedded in a form field parameter, then socially engineers a logged-in user to click the link. When the application processes the request and renders the field error containing the unsanitized input, the script executes in the victim's browser, enabling session token theft, credential harvesting, or UI redressing. No public POC has been observed at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 28, 2026

Reflected XSS in Spring Framework's MVC and WebFlux data-binding error rendering exposes users of vulnerable applications to arbitrary HTML and JavaScript injection. All active Spring Framework release trains are affected - versions 5.2.x through 7.0.8 - making the exposure surface extremely broad across enterprise Java deployments. An unauthenticated attacker (per CVSS PR:N) can craft a malicious URL containing injected script payloads that, when a victim clicks it, execute in the victim's browser context via reflected field-error output. No public exploit code has been identified and EPSS sits at 0.17% (7th percentile), indicating limited observed exploitation activity at time of analysis.

RemediationAI

The primary remediation is to upgrade to a fixed version of Spring Framework as specified in the vendor advisory at https://spring.io/security/cve-2026-59281 - the advisory should be consulted for exact patched version numbers as they are not independently confirmed in the available data. As a compensating control where immediate patching is not possible, application developers should replace calls to the no-argument Errors.getFieldErrors() and Errors.getFieldError() accessors with argument-bearing overloads that do not bypass HTML escaping, or explicitly HTML-escape all field error values before rendering. Disabling HTML escaping globally is not a recommended workaround as it may introduce other injection risks. If the application does not rely on field-error rendering in view templates, restricting or removing the relevant form-binding code paths eliminates the attack surface entirely. Application-layer WAF rules blocking reflected script payloads in query parameters can serve as an additional detection layer but should not be treated as a complete substitute for patching.

Affected VersionsENISA

Spring Framework 6.2.0 ≤6.2.19
Spring Framework 6.1.0 ≤6.1.28
Spring Framework 5.3.0 ≤5.3.49
Spring Framework 7.0.0 ≤7.0.8
Spring Framework 6.0.0 ≤6.0.30
Spring Framework 0 ≤5.2.25.RELEASE

Affected Packages

euvd spring_framework no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Spring Framework's data-binding subsystem exposes an Errors interface used by both Spring MVC (servlet-based) and Spring WebFlux (reactive) to surface validation failures to view layers. When HTML escaping is enabled - typically through Spring's HtmlEscapingContext, HtmlEscapingAwareHelper, or taglib configuration - the framework is expected to sanitize error messages before rendering. The vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation) occurs specifically when applications invoke the no-argument Errors.getFieldErrors() or Errors.getFieldError() accessor variants, which bypass the escaping codepath and return raw field error values. An attacker-controlled form field name or value that ends up in a field error message is thus reflected verbatim into the HTML response. Affected CPE: cpe:2.3:a:spring:spring_framework spanning versions from pre-5.2.25 through 7.0.8. The scope change (S:C in CVSS) reflects that the exploit executes in the victim's browser security context, outside the origin of the application itself.

Know when Spring gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vmware) PRIMARY 6.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 6.1 MEDIUM

Network-delivered reflected XSS with no attacker privileges required; user interaction and scope change to browser context justify UI:R and S:C; C:L and I:L reflect limited cookie/DOM exposure with no availability impact.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Red Hat 5.4 MEDIUM

Primary rating from Vendor (vmware).

CVSS VectorVendor: vmware

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

3
CVSS changed
Aug 28, 2026 - 20:22 NVD
6.1 (MEDIUM)
CVE Published
Aug 27, 2026 - 17:57 cve.org
UNKNOWN (no severity yet)
CVE Published
Aug 27, 2026 - 17:57 cve.org
MEDIUM 6.1

DescriptionCVE.org

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

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
High
dominant Java enterprise web framework, pervasive in enterprise backends
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

More in Spring

View all
CVE-2025-41243 CRITICAL POC
10.0 Sep 16

Spring Cloud Gateway Server Webflux may be vulnerable to Spring Environment property modification. Rated critical severi

CVE-2025-70982 CRITICAL POC
9.9 Jan 26

Access control bypass in SpringBlade v4.5.0 importUser function allows low-privileged users to import sensitive user dat

CVE-2026-22739 HIGH POC
8.6 Mar 24

Spring Cloud Config Server contains a path traversal vulnerability when using the native file system backend, allowing u

CVE-2025-41242 MEDIUM POC
5.9 Aug 18

Spring Framework MVC applications can be vulnerable to a “Path Traversal Vulnerability” when deployed on a non-compliant

CVE-2025-70983 CRITICAL
9.9 Jan 23

SpringBlade v4.5.0 has an access control flaw in authRoutes allowing low-privileged users to escalate to admin through t

CVE-2026-41699 CRITICAL
9.8 Jun 11

Remote code execution in Spring for GraphQL versions 1.3.0-1.3.8, 1.4.0-1.4.5, and 2.0.0-2.0.3 allows unauthenticated at

CVE-2026-59313 CRITICAL
9.8 Aug 27

Server-Sent Events (SSE) stream corruption affects Spring MVC applications built on the functional web framework across

CVE-2026-22738 CRITICAL
9.8 Mar 27

Spring AI versions 1.0.0 through 1.0.4 and 1.1.0 through 1.1.3 allow unauthenticated remote code execution through Sprin

CVE-2026-41855 CRITICAL
9.8 Jun 09

Unsafe JSON deserialization in Spring Framework's JMS message converters (MappingJackson2MessageConverter and JacksonJso

CVE-2025-41232 CRITICAL
9.1 May 21

Spring Security Aspects may not correctly locate method security annotations on private methods. Rated critical severity

CVE-2026-59283 CRITICAL
9.1 Aug 27

Safety-guard bypass in the Spring Framework SpEL engine (VMware/Broadcom) lets attacker-controlled expression input esca

CVE-2026-40982 CRITICAL
9.1 May 07

Directory traversal in Spring Cloud Config server module allows remote unauthenticated attackers to read arbitrary files

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy