Spring Security Oauth2 Authorization Server
When Dynamic Client Registration is enabled, the registration endpoint does not sufficiently validate certain client metadata fields provided by the registering client. An attacker with a valid Initial Access Token can register a malicious client using crafted metadata. Depending on the server configuration and how this metadata is processed or rendered, this can lead to Stored Cross-Site Scripting (XSS), Privilege Escalation, or Server-Side Request Forgery (SSRF).