5.5Medium

CVE-2026-107889Keycloak-services: keycloak-services: stored xss on login page via kcsanitize bypass

Red Hat Red Hat build of Keycloak 26.6; Red Hat Red Hat build of Keycloak 26.6.8; Red Hat Red Hat Single Sign-On 7 Published: (1 month ago)

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

VendorProductVersions
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