keycloak-services is vulnerable to Cross-Site Scripting (XSS)
55
CVE Score
Medium
Cross-Site Scripting (XSS)
The login-theme sanitizer restores ampersands in link URLs after sanitization, reactivating numeric character references that can encode a JavaScript URL. A realm administrator can store crafted HTML in realm display fields that executes script in visitors’ browsers.
Upgrade org.keycloak:keycloak-services to the patched version. The fix decodes numeric references and validates the resulting URL scheme before rendering the link.
You are affected if you use a vulnerable version of org.keycloak:keycloak-services and a realm administrator can set HTML display fields rendered through kcSanitize in login or error pages. Users visiting those pages can be exposed to attacker-supplied script.
26.1.3 - 26.8.1
Fixed in 26.8.2keycloak-services is vulnerable to Cross-Site Scripting (XSS) in versions 26.1.3 - 26.8.1.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.