What’s Vulnerable › Vulnerabilities

CVE-2026-59316: Spring Authorization Server Default Consent Page is vulnerable to Cross-Site Scripting (XSS)

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

Affected products

How to fix

Upgrade to a fixed version: Spring Authorization Server 1.4.12, 1.5.9. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-59316 or the next vulnerability affects your stack