CVE-2026–22752. A Valid Token Is All It Takes. Then the OAuth L
A valid Initial Access Token allows an attacker to register a malicious OAuth client through Spring Authorization Server's Dynamic Client Registration endpoint. This leads to stored XSS in the administrative interface, privilege escalation within the OAuth trust boundary, and SSRF against internal infrastructure.
Published on medium.com
CVE-2026–22752 does not require an unauthenticated attacker. It requires one with a valid Initial Access Token — a bar that is lower than it sounds in environments where token issuance is broad, where developer or test tokens persist beyond their intended lifespan, or where a prior credential exposure has gone…
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely insufficient validation and sanitisation in the Dynamic Client Registration endpoint, allowing a malicious client to inject stored XSS and trigger SSRF.
Impact
An attacker with a valid token could register a malicious OAuth client, leading to stored XSS against administrators, privilege escalation, and SSRF from the authorization server's trusted network position.
What the attacker needed
A valid Initial Access Token; access to Dynamic Client Registration endpoint
The fix
The vulnerability was fixed by upgrading to Spring Security 7.0.5, Spring Authorization Server 1.3.11, 1.4.10, or 1.5.7; if immediate upgrade is not possible, disable Dynamic Client Registration as a temporary mitigation.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
An OAuth client is an application that asks a central login service for permission to access user data. Here, someone with a valid token could register a fake client, which then let them inject harmful code into the admin pages and make the server connect to internal systems it should not reach.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.