Summary
Keycloak vulnerable to cross-site scripting (xss) via case-insensitive uri validation bypass
Advisory details
Description
A flaw was found in Keycloak. A remote attacker with administrative privileges, specifically those with manage-client permission or access to client registration endpoints, could bypass client Uniform Resource Identifier (URI) validation. This is achieved by registering a malicious client with a specially crafted redirect URI using a case-insensitive javascript: or data: scheme. This Cross-Site Scripting (XSS) vulnerability allows for arbitrary code execution in the Keycloak origin when a victim clicks the crafted link, such as in the logout flow or the Admin Console.
References
- https://github.com/advisories/GHSA-v3f7-2p4r-mwfw
- https://github.com/keycloak/keycloak/security/advisories/GHSA-v3f7-2p4r-mwfw
- https://nvd.nist.gov/vuln/detail/CVE-2026-9086
- https://access.redhat.com/errata/RHSA-2026:30049
- https://access.redhat.com/errata/RHSA-2026:30050
- https://access.redhat.com/errata/RHSA-2026:30083
- https://access.redhat.com/errata/RHSA-2026:30084
- https://access.redhat.com/security/cve/CVE-2026-9086
Related vulnerabilities
All Supply chain →- CRITICALCVE-2026-64670
@waline/client vulnerable to stored XSS through unsanitized comment edit previews
- HIGHCVE-2026-122244
Budibase: Cross-privilege Stored XSS in the Budibase Builder via broken HTML-escaping in `jsonFormatter.format()` rendered through `{@html}` in the CSP-less Builder origin
- MEDIUMCVE-2026-104884
contao/core-bundle: Cross-site scripting in the frontend search results
- HIGHCVE-2026-59988
django-docutils unsafe Docutils defaults allow local file disclosure, SSRF, and stored XSS
- MEDIUMCVE-2026-63193
October: Media Library Crop Handler Bypasses Upload Extension Allowlist
- HIGHCVE-2026-69155
Atomic Server: Stored XSS via uploaded files served inline (same-origin) on `/download` → account takeover