Cross-site scripting in Spring Security - CVE-2026-47877
Published: August 28, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary script in the victim's browser.
The vulnerability exists due to cross-site scripting in the DefaultConsentPage when processing an OAuth2 authorization request containing user-controlled values. A remote attacker can send a specially crafted authorization request to execute arbitrary script in the victim's browser.
Only applications using the default consent page are affected; applications configured with a custom consent page are not affected. User interaction is required to load the consent page.