Keycloak: keycloak: cross-site scripting (xss) via case-insensitive uri validation bypass
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in org.keycloak:keycloak-services 26.6.4.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Red Hat | Build of Keycloak | ||
| maven: org.keycloak:keycloak-services | <26.6.4 | 26.6.4 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in org.keycloak:keycloak-services (Maven), strongest first
Embed
A live severity badge for an advisory, README or ticket