Keycloak: keycloak: cross-site scripting (xss) via case-insensitive uri validation bypass (Red Hat Red Hat build of Keycloak 26.4)

CVE-2026-9086
HIGH 7.3

At a glance

Source
NVD
EPSS
EPSS 0.78 % · percentile 56 ()
State
PUBLISHED
Published
Updated
Assigner
redhat
NVD status
Analyzed

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.

Weaknesses (CWE)

  • CWE-79 — Improper Neutralization of Input During Web Page Generation

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.3CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:Nredhat
CVSS 3.1HIGH 7.3CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:Nredhat-SADP
CVSS 3.1HIGH 7.3CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:NNVD · secalert@redhat.com (Secondary)
CVSS 3.1HIGH 7.3CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:NNVD · 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Red Hat · Red Hat build of Keycloak 26.4unaffected 26.4.13-1 < *
Red Hat · Red Hat build of Keycloak 26.4unaffected 26.4-19 < *
Red Hat · Red Hat build of Keycloak 26.4unaffected 26.4-19 < *
Red Hat · Red Hat build of Keycloak 26.4.13
Red Hat · Red Hat build of Keycloak 26.6unaffected 26.6.4-2 < *
Red Hat · Red Hat build of Keycloak 26.6unaffected 26.6-8 < *
Red Hat · Red Hat build of Keycloak 26.6unaffected 26.6-8 < *
Red Hat · Red Hat build of Keycloak 26.6.4

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD