CVE-2026-59316 Spring Authorization Server Default Consent Page is vulnerable to Cross-Site Scripting (XSS)
Attackers can inject malicious scripts into the default consent page via crafted OAuth2 requests, potentially compromising user sessions.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-59316?
CVE-2026-59316 is a high-severity cross-site scripting vulnerability in Spring Authorization Server, published on 27 Aug 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
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
Weakness: CWE-79
Which versions are affected by CVE-2026-59316?
It affects 1 product.
Products include Broadcom Spring Authorization Server.
How do I fix CVE-2026-59316?
No fix has been published for CVE-2026-59316 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-59316 being exploited?
There is no known exploitation of CVE-2026-59316 in the wild and no public exploit code.
Other vulnerabilities in Spring Authorization Server
Sources
Also known as GHSA-5pc3-v4c3-6pv4.