Keycloak-services: keycloak-services: stored xss on login page via kcsanitize bypass (Red Hat Red Hat Build of Keycloak)

CVE-2026-107889
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.27 % Β· percentile 19 ()
State
PUBLISHED
Published
Updated
Assigner
redhat
NVD status
Awaiting Analysis

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.

Weaknesses (CWE)

  • CWE-79 β€” Improper Neutralization of Input During Web Page Generation

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:Nredhat
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:NNVD Β· secalert@redhat.com (Secondary)

European references

Affected products

ProductVersions
Red Hat Β· Red Hat Build of Keycloak
Red Hat Β· Red Hat Build of Keycloak
Red Hat Β· Red Hat Single Sign-On 7

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST β€” attribution requested
ENISA EUVDENISA β€” reproduction authorised, source acknowledged
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