Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify vulnerable Spring endpoint rendering field errors
-
DeliveryCraft URL with injected script payload in form field parameter
-
ExploitDeliver link to victim via phishing or redirect
-
ExecutionVictim browser submits crafted request to application
-
PersistApplication reflects unsanitized field error in HTML response
-
ImpactInjected 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
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.
Primary rating from Vendor (vmware).
CVSS VectorVendor: vmware
Lifecycle Timeline
3DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Spring Cloud Gateway Server Webflux may be vulnerable to Spring Environment property modification. Rated critical severi
Access control bypass in SpringBlade v4.5.0 importUser function allows low-privileged users to import sensitive user dat
Spring Cloud Config Server contains a path traversal vulnerability when using the native file system backend, allowing u
Spring Framework MVC applications can be vulnerable to a “Path Traversal Vulnerability” when deployed on a non-compliant
SpringBlade v4.5.0 has an access control flaw in authRoutes allowing low-privileged users to escalate to admin through t
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
Server-Sent Events (SSE) stream corruption affects Spring MVC applications built on the functional web framework across
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
Unsafe JSON deserialization in Spring Framework's JMS message converters (MappingJackson2MessageConverter and JacksonJso
Spring Security Aspects may not correctly locate method security annotations on private methods. Rated critical severity
Safety-guard bypass in the Spring Framework SpEL engine (VMware/Broadcom) lets attacker-controlled expression input esca
Directory traversal in Spring Cloud Config server module allows remote unauthenticated attackers to read arbitrary files
EUVD-2026-67170
GHSA-549f-4rpc-3rw9
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB