Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid Initial Access Token
-
DeliverySubmit client registration with crafted metadata fields
-
ExploitAuthorization server persists unsanitized metadata
-
ExecutionAdmin renders metadata in UI or server fetches client-supplied URI
-
PersistXSS hijacks admin session or SSRF reaches internal service
-
ImpactLateral movement or data exfiltration
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
|
| Exploitation Conditions | Dynamic Client Registration must be explicitly enabled in the Spring Security OAuth2 Authorization Server configuration - this feature requires intentional opt-in and is not active in default deployments. The attacker must additionally possess a valid Initial Access Token (the RFC 7591-defined credential authorizing client registration); without one, the registration endpoint will reject the request. The CVSS PR:L metric confirms that token possession - representing low-privilege authenticated access - is required. The specific impact realized then depends on downstream server behavior: Stored XSS requires that the crafted metadata be rendered in an HTML context such as an admin UI; SSRF requires that the server fetches client-supplied URI fields (logo_uri, jwks_uri, or policy_uri) during registration or token issuance; Privilege Escalation requires that the server fails to enforce allowed scopes or grant types at registration time. Deployments where Dynamic Client Registration is disabled are not exploitable regardless of version. |
| Impact | The CVSS 8.8 score (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) reflects a network-reachable flaw requiring only low privileges - a valid Initial Access Token - but real-world risk is gated behind two explicit prerequisites: Dynamic Client Registration must be actively enabled in configuration (it is not a default behavior), and the attacker must have already obtained a valid Initial Access Token. The EPSS score of 0.25% (16th percentile) and SSVC 'Exploitation: none' designation confirm no observed active exploitation, substantially reducing urgency for unexposed deployments. A significant data quality issue exists: the provided CVSS vector encodes S:U/A:H, whereas the linked NVD calculator URL in the references encodes S:C/C:H/I:H/A:N - the scope-changed variant is more technically consistent with Stored XSS and SSRF, which inherently affect systems or users beyond the vulnerable server itself, and should be verified against the authoritative Spring advisory. Despite the low EPSS, the SSVC 'Technical Impact: total' and the breadth of exploit classes (XSS, SSRF, privilege escalation) means that organizations with Dynamic Client Registration enabled should treat this as a priority patch cycle regardless of environment size. Deployments with the feature disabled face negligible residual risk. |
| Exploit ScenarioDerived | An attacker who has obtained a valid Initial Access Token - through credential theft, a compromised CI/CD pipeline, or insider access - submits an OAuth2 client registration request with a malicious client_name containing a JavaScript payload or a logo_uri pointing to an internal metadata service. The authorization server persists the crafted metadata without adequate validation. When an administrator later views registered clients in a management interface, the stored XSS payload executes in their browser enabling session hijacking and account takeover; alternatively, if the server fetches the logo_uri during processing, an SSRF request is issued against cloud instance metadata endpoints or internal APIs. No public proof-of-concept code has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – Sep 01, 2026
Insufficient input validation in Spring Security's OAuth2 Authorization Server module (versions 7.0.0-7.0.4) allows an attacker holding a valid Initial Access Token to register a malicious OAuth2 client with crafted metadata fields via the Dynamic Client Registration endpoint. Depending on server configuration and how the metadata is subsequently rendered or fetched, the impact spans Stored XSS (targeting administrator sessions), Privilege Escalation (through insufficiently constrained scopes or grant types), or SSRF against internal infrastructure. No public exploit code or CISA KEV listing exists at time of analysis, but the SSVC framework rates the technical impact as total, warranting priority remediation for any deployment with Dynamic Client Registration explicitly enabled.
Earlier versions of this analysis (2)
Client-metadata injection in Spring Security's OAuth2 Authorization Server module (7.0.0 through 7.0.4) lets an attacker holding a valid Initial Access Token register a malicious OAuth2 client whose insufficiently validated metadata can yield Stored XSS, Privilege Escalation, or SSRF. Exploitation requires that the optional Dynamic Client Registration (DCR) endpoint be explicitly enabled, and the concrete impact depends on how the server later renders or consumes the stored metadata. There is no public exploit identified at time of analysis and it is not listed in CISA KEV, but the vendor-rated CVSS of 9.6 reflects a scope-changing, high-confidentiality/high-integrity outcome.
Stored XSS, privilege escalation, and SSRF are exploitable in Spring Security's OAuth2 Authorization Server module versions 7.0.0 through 7.0.4 by attackers holding a valid Initial Access Token who abuse insufficient input validation in the Dynamic Client Registration endpoint. By registering a malicious OAuth2 client with crafted metadata fields, an attacker can - depending on how that metadata is rendered or consumed - execute stored scripts in administrative browser sessions, influence authorization decisions to escalate privileges, or force the server to issue unauthorized internal network requests. No public exploit has been identified at time of analysis; exploitation is gated on Dynamic Client Registration being explicitly enabled, a non-default operator configuration.
RemediationAI
Upgrade to a patched release of the Spring Security OAuth2 Authorization Server module above version 7.0.4; the exact fixed version must be confirmed from the vendor advisory at https://spring.io/security/cve-2026-59354, as the provided data does not specify it. For organizations unable to patch immediately, the most effective compensating control is to disable Dynamic Client Registration entirely - this eliminates the attack surface completely, at the cost of preventing programmatic client self-registration workflows. If Dynamic Client Registration must remain active, restrict the issuance of Initial Access Tokens to the minimum necessary set of trusted, authenticated operators and implement strict server-side egress filtering to block outbound requests from the authorization server to internal network ranges (mitigating SSRF). Additionally, apply output encoding or sanitization to all client metadata rendered in any administrative interface to reduce Stored XSS exposure. Audit all existing registered clients for anomalous metadata field values such as suspicious redirect_uris, logo_uri, or jwks_uri entries that may indicate prior exploitation.
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 Security's OAuth2 Authorization Server module implements RFC 7591 (OAuth 2.0 Dynamic Client Registration Protocol), allowing clients to programmatically register with an authorization server using an Initial Access Token. The affected component (CPE: cpe:2.3:a:vmware_by_broadcom:spring_security_(oauth2_authorization_server_module):*:*:*:*:*:*:*:*) fails to adequately validate client metadata fields submitted during registration - a CWE-20 (Improper Input Validation) deficiency. Specific fields such as client_name, redirect_uris, logo_uri, jwks_uri, or policy_uri are typical targets: when stored and later rendered in an admin UI, unsanitized values produce Stored XSS; when the server fetches client-supplied URI fields, they produce SSRF into internal services; when scope or grant_type constraints are insufficiently enforced, they enable Privilege Escalation. The vulnerability is reported by VMware/Broadcom, which maintains the Spring ecosystem, and is tracked as EUVD-2026-66977.
Know when Spring Security Oauth2 Authorization Server Module 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:L/UI:N/S:U/C:H/I:H/A:H
Stored XSS and SSRF affect systems beyond the vulnerable server (S:C); Initial Access Token required (PR:L); no availability impact is produced by XSS, SSRF, or privilege escalation in this context.
Primary rating from Vendor (vmware).
CVSS VectorNVD
Lifecycle Timeline
7DescriptionNVD
In versions of Spring Security's OAuth2 Authorization Server module 7.0.0 through 7.0.4, when Dynamic Client Registration is explicitly enabled, the registration endpoint performs insufficient validation of certain client metadata fields supplied by the registering client. An attacker who possesses a valid Initial Access Token can register a malicious client with crafted metadata, which, depending on server configuration and how the metadata is later rendered or used, may result in Stored Cross-Site Scripting (XSS), Privilege Escalation, or Server-Side Request Forgery (SSRF).
Articles & Coverage 1
Executive ViewAI
Spring Security OAuth2 Authorization Server (versions 7.0.0-7.0.4) enables authenticated attackers to inject malicious client metadata through the Dynamic Client Registration endpoint, risking unauthorized access to administrator accounts, privilege escalation, or lateral movement to internal systems. This identity-infrastructure vulnerability requires immediate assessment and remediation for affected deployments.
Disable Dynamic Client Registration if operationally non-critical; enforce strict input validation on OAuth2 client metadata via WAF or application-layer filters; restrict Initial Access Token issuance to trusted services with minimal scope and short expiration windows; implement real-time detection and alerting for suspicious client registration attempts; conduct immediate audit of existing registered clients for anomalous metadata patterns.
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.
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
EUVD-2026-66977
GHSA-j9pv-5342-rrx5
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB