5.5Medium
CVE-2026-107889Keycloak-services: keycloak-services: stored xss on login page via kcsanitize bypass
Description
A flaw was found in the login theme rendering component of Keycloak. The issue occurs because the security filter responsible for cleaning user input can be bypassed, allowing a realm administrator to store malicious scripts in display fields. This could result in unauthorized JavaScript execution in the browsers of users visiting the login page, potentially leading to data exposure or session interference.
Weakness (CWE):
CWE-79
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| build keycloak | 26.6 | — | |
| Red Hat | Red Hat build of Keycloak 26.6 | all versions | |
| Red Hat | Red Hat build of Keycloak 26.6.8 | — | |
| Red Hat | Red Hat Single Sign-On 7 | — |
References and patches
- RHSA-2026:95761 vendor-advisory
- RHSA-2026:95762 vendor-advisory
- https://access.redhat.com/security/cve/CVE-2026-107889 vdb-entry
- RHBZ#2548355 issue-tracking