GHSA-37j9-56gh-j2r7
Duplicate Advisory: Keycloak vulnerable to cross-site scripting (xss) via case-insensitive uri validation bypass
Impact
### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-v3f7-2p4r-mwfw. This link is maintained to preserve external references. ### Original 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.
An attacker can exploit this over the network, with a regular user account, but a user has to do something, such as open a file or a link. If it succeeds: high risk of data being read, high risk of data or systems being changed.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.keycloak:keycloak-services | < 26.6.4 | none recorded |
Weakness classification
References
- GitHub advisory
- https://github.com/advisories/GHSA-37j9-56gh-j2r7
- https://nvd.nist.gov/vuln/detail/CVE-2026-9086
- https://access.redhat.com/security/cve/CVE-2026-9086
- https://bugzilla.redhat.com/show_bug.cgi?id=2480170
- https://access.redhat.com/errata/RHSA-2026:30083
- https://access.redhat.com/errata/RHSA-2026:30084
- https://access.redhat.com/errata/RHSA-2026:30049
- https://access.redhat.com/errata/RHSA-2026:30050
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-9086.json