CVE-2026-107889

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

State
Published
Severity
5.5 Medium
Published
Oct 9, 2026
Updated
Oct 13, 2026
Reserved
Oct 9, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:Nredhat

Weaknesses

  • CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Affected Products

ProductVersions
Red Hat Build of KeycloakRed Hat
    Red Hat Build of KeycloakRed Hat
      Red Hat Single Sign-On 7Red Hat

        References

        Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.