{"id":"CVE-2026-107889","aliases":["CVE-2026-107889"],"related":[],"kind":"vulnerability","state":"published","title":"Keycloak-services: keycloak-services: stored xss on login page via kcsanitize bypass","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-09T04:28:55.081Z","modified":"2026-11-06T18:17:42.870Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"rpm","introduced":"26.6.8-2","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.6","package":"rhbk/keycloak-operator-bundle","cpe":"cpe:/a:redhat:build_keycloak:26.6::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"26.6-24","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.6","package":"rhbk/keycloak-rhel9","cpe":"cpe:/a:redhat:build_keycloak:26.6::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"26.6-24","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.6","package":"rhbk/keycloak-rhel9-operator","cpe":"cpe:/a:redhat:build_keycloak:26.6::el9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.6.8","package":"keycloak-services","cpe":"cpe:/a:redhat:build_keycloak:26.6::el9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.6.8","package":"rhbk/keycloak-rhel9","cpe":"cpe:/a:redhat:build_keycloak:26.6::el9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Single Sign-On 7","package":"keycloak-services","cpe":"cpe:/a:redhat:red_hat_single_sign_on:7","source":"cvelist"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2026:95761","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:95762","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-107889","tags":["vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2548355","tags":["issue-tracking","x-refsource-redhat"],"sources":["cvelist","nvd"]}],"credits":["Red Hat would like to thank Mohammed LACHHAB for reporting this issue."],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-10-13T16:45:42.974Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-107889","url":"https://www.cve.org/CVERecord?id=CVE-2026-107889","licence":"CVE Terms of Use","modified":"2026-11-06T17:34:47.091Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-107889","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-107889","licence":"Public domain","modified":"2026-11-06T18:17:42.870Z"}],"updatedAt":"2026-11-25T22:59:43.269Z","epss":{"score":0.0037,"percentile":0.32967,"date":"2026-12-01T12:00:22.000Z"}}