Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit crafted OAuth2 authorization request with XSS payload
-
DeliveryMalicious value persisted server-side in authorization context
-
ExploitVictim user proceeds through OAuth2 authorization flow
-
ExecutionDefaultConsentPage renders stored payload without HTML encoding
-
PersistXSS executes in victim's browser
-
ImpactSession tokens or credentials exfiltrated to attacker
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 | The vulnerable code path is activated only when the application uses Spring Authorization Server's DefaultConsentPage; deployments that have implemented any custom consent page are entirely unaffected. An attacker must be able to submit an OAuth2 authorization request to the server - for public-facing authorization servers this typically requires no authentication, consistent with the PR:N CVSS metric. Exploitation additionally requires that a legitimate user be directed through the OAuth2 consent flow and view the consent page after the malicious request has been stored, satisfying the UI:R constraint. Limiting factors: requiring pre-authenticated users before reaching the consent page, restricting OAuth2 client registration, or deploying a custom consent UI each independently reduce or eliminate the attack surface beyond what the raw CVSS score conveys. |
| Impact | The CVSS 3.1 score of 8.2 (AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N) accurately models the attack surface: no authentication or special network position is required to plant the payload, complexity is low, and the scope change (S:C) reflects JavaScript execution in the victim's browser rather than the server process itself. The primary practical constraint is UI:R - the victim must actively proceed through an OAuth2 authorization flow and view the consent page, limiting opportunistic mass exploitation. EPSS probability data is absent from available intelligence, and the vulnerability does not appear on the CISA KEV catalog, indicating no confirmed active exploitation at time of analysis; no public proof-of-concept code has been identified. Real-world risk is sharply conditioned on DefaultConsentPage usage - organizations that have deployed a custom consent UI are entirely unaffected. Despite the absence of active exploitation signals, the trivial injection mechanics combined with the high confidentiality impact (enabling session token and credential theft via arbitrary script execution in the victim's browser) makes this an urgent remediation priority wherever affected versions and the default consent page coexist. |
| Exploit ScenarioDerived | An attacker registers or controls an OAuth2 client and submits an authorization request to the vulnerable Spring Authorization Server containing a scope value or client parameter embedding a malicious script payload. When a legitimate user is subsequently redirected through the consent flow, the DefaultConsentPage renders the stored payload as live HTML, causing the attacker's JavaScript to execute in the user's browser and exfiltrate their session cookie or OAuth token to an attacker-controlled endpoint. No proof-of-concept code has been identified, but the exploitation path requires no specialized tooling beyond the ability to submit HTTP requests to the authorization endpoint. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 27, 2026
Stored cross-site scripting in Spring Authorization Server's DefaultConsentPage allows network-accessible, unauthenticated attackers to inject arbitrary JavaScript into the OAuth2 consent screen presented to legitimate users. Affected versions span 1.4.0-1.4.11 and 1.5.0-1.5.8; the attack payload is embedded in a crafted OAuth2 authorization request, persisted server-side, and executed in the victim's browser when they view the consent dialog. No public exploit has been identified at time of analysis, but the low-complexity injection mechanism combined with a CVSS 8.2 base score and high confidentiality impact makes this an urgent remediation target for any deployment relying on the default consent page.
RemediationAI
Consult the vendor advisory at https://spring.io/security/cve-2026-59316 for confirmed patched release versions; exact fixed version numbers are not present in the available intelligence and have not been independently verified. As a workaround, organizations can replace the DefaultConsentPage with a custom consent page implementation that applies proper HTML entity encoding to all user-controlled values before rendering - this eliminates the vulnerable code path entirely and is the recommended interim control where immediate upgrading is not feasible. Restricting who can initiate OAuth2 authorization flows (for example, requiring prior session authentication before the consent page is reachable) reduces exposure but does not eliminate the vulnerability if the DefaultConsentPage remains accessible to any attacker who can submit authorization requests.
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 Authorization Server (CPE: cpe:2.3:a:spring:spring_authorization_server) is a Spring Security-based implementation of the OAuth 2.1 and OpenID Connect 1.0 specifications, commonly deployed as a standalone authorization server in enterprise Java environments. The vulnerable component is the DefaultConsentPage, which dynamically inserts OAuth2 authorization request parameters - such as requested scope values or client metadata - into an HTML response shown to users for their approval before granting access. The root cause is the absence of HTML entity encoding on attacker-controlled string values prior to rendering, enabling injected markup such as script tags or inline event handlers to be interpreted as executable content by the browser. Although the advisory assigns no formal CWE, this behavior maps precisely to CWE-79 (Improper Neutralization of Input During Web Page Generation), specifically the stored variant because the malicious value is persisted in the authorization server before being reflected to the victim.
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:H/I:L/A:N
Network-accessible stored XSS requiring victim interaction (UI:R); no attacker authentication needed (PR:N); scope changes to victim's browser context (S:C) with high confidentiality impact from token theft.
Primary rating from Vendor (vmware).
CVSS VectorVendor: vmware
DescriptionCVE.org
Spring Authorization Server's default consent page renders user-controlled values without HTML entity encoding. When using the DefaultConsentPage, an attacker can craft an OAuth2 authorization request containing a malicious value that is stored server-side and later rendered unencoded in the default consent page presented to the end user. Spring Authorization Server 1.5.0 - 1.5.8 Spring Authorization Server 1.4.0 - 1.4.11
Executive ViewAI
Spring Authorization Server versions 1.4.0-1.4.11 and 1.5.0-1.5.8 contain a stored cross-site scripting vulnerability in the default OAuth2 consent page that allows unauthenticated attackers to inject malicious JavaScript executed in legitimate users' browsers. Organizations relying on these versions face credential theft, session hijacking, and erosion of user trust in the authentication flow.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable DefaultConsentPage and replace with a custom consent form implementing strict input validation and HTML entity encoding; (2) Deploy Web Application Firewall rules to detect and block OAuth2 authorization requests containing JavaScript payloads or suspicious encoding; (3) Restrict OAuth2 endpoint access via network firewall rules or reverse proxy authentication gateways; (4) Enable verbose logging and monitoring of authorization requests to identify exploitation attempts.
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.
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
Spring Security fails to properly write HTTP response headers in servlet applications across multiple versions (5.7.0-5.
EUVD-2026-67198
GHSA-5pc3-v4c3-6pv4
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB