CVE-2026-59354
Received Received - Intake

Stored XSS in Spring Security OAuth2 Authorization Server

Vulnerability report for CVE-2026-59354, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-27

Last updated on: 2026-08-27

Assigner: VMware

Description

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).

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-27
Last Modified
2026-08-27
Generated
2026-08-27
AI Q&A
2026-08-27
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
vmware spring_security_oauth2_authorization_server From 7.0.0 (inc) to 7.0.4 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-20 The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability affects Spring Security's OAuth2 Authorization Server module versions 7.0.0 through 7.0.4. When Dynamic Client Registration is enabled, the registration endpoint does not properly validate client metadata fields. An attacker with a valid Initial Access Token can register a malicious client with crafted metadata, potentially leading to XSS, privilege escalation, or SSRF depending on server use of the metadata.

Detection Guidance

To detect this vulnerability, inspect Spring Security OAuth2 Authorization Server configurations for Dynamic Client Registration settings. Check if registration endpoints are exposed and validate client metadata handling. Review server logs for unusual client registrations or metadata values. No specific commands are provided in the context.

Impact Analysis

If you use Spring Security's OAuth2 Authorization Server with Dynamic Client Registration enabled, an attacker could exploit this to inject malicious scripts, gain elevated privileges, or make unauthorized server-side requests. This could compromise user data, system integrity, or allow further attacks depending on server configuration.

Compliance Impact

This vulnerability could lead to unauthorized access, data breaches, or privilege escalation, which may violate GDPR's data protection requirements or HIPAA's security rules. Organizations must address this to maintain compliance with these regulations.

Mitigation Strategies

Disable Dynamic Client Registration if not required. If enabled, ensure strict validation of client metadata fields. Update to a patched version of Spring Security's OAuth2 Authorization Server module (7.0.5 or later).

Monitor for suspicious client registrations and review server configurations for potential XSS, privilege escalation, or SSRF risks.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-59354. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart