{"id":"CVE-2026-107889","aliases":[],"summary":"Keycloak-services: keycloak-services: stored xss on login page via kcsanitize bypass","published_at":"2026-10-08T15:38:13Z","modified_at":"2026-11-06T17:34:47.091Z","products":[{"slug":"keycloak","name":"Keycloak","category":"identity"}],"rating":{"severity":"medium","score":5.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N","attack_path":"internet_authenticated","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"Red Hat","rating":"Moderate"}]},"fix_available":true,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.003229999914765358,"percentile":0.25918999314308167,"date":"2026-11-19T00:00:00Z"},"priority":6.5,"details":"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.","affected_stack":[{"ecosystem":"CVE","package":"Red Hat/Red Hat build of Keycloak 26.6","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"26.6.8-2"}]}],"fixed":["26.6.8-2"],"provider":"cvelistv5","source":"CVE-2026-107889","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/Red Hat build of Keycloak 26.6","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"26.6-24"}]}],"fixed":["26.6-24"],"provider":"cvelistv5","source":"CVE-2026-107889","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/Red Hat build of Keycloak 26.6","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"26.6-24"}]}],"fixed":["26.6-24"],"provider":"cvelistv5","source":"CVE-2026-107889","relation":"self"}],"affected_other":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat Single Sign-On 7","cpe":"cpe:/a:redhat:red_hat_single_sign_on:7","status":"not_affected","packages":["keycloak-services"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-107889"},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.6","cpe":"cpe:/a:redhat:build_keycloak:26.6::el9","status":"fixed","packages":["rhbk/keycloak-operator-bundle","rhbk/keycloak-rhel9","rhbk/keycloak-rhel9-operator"],"package_count":3,"fixed":[],"advisories":["RHSA-2026:95762"],"provider":"redhat-vex","source":"CVE-2026-107889"},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.6.8","cpe":"cpe:/a:redhat:build_keycloak:26.6::el9","status":"fixed","packages":[],"package_count":0,"fixed":[],"advisories":["RHSA-2026:95761"],"provider":"redhat-vex","source":"CVE-2026-107889"}],"records":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2026-3849","relation":"upstream","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-3849","license":"TLP:CLEAR, mirroring permitted","published_at":"2026-10-08T22:00:00Z","modified_at":"2026-11-08T23:00:00Z","summary":"Keycloak: Mehrere Schwachstellen","details":"Ein Angreifer kann mehrere Schwachstellen in Keycloak ausnutzen, um Informationen offenzulegen, um Sicherheitsvorkehrungen zu umgehen, und um einen Cross-Site Scripting Angriff durchzuführen.\n\nKeycloak ermöglicht Single Sign-On mit Identity and Access Management für moderne Anwendungen und Dienste.","severity":[{"type":"BSI","score":"mittel","source":"WID-SEC-W-2026-3849"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-3849.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-3849"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2547941"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2547957"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2548355"},{"type":"WEB","url":"https://access.redhat.com/security/cve/cve-2026-107604"},{"type":"WEB","url":"https://access.redhat.com/security/cve/cve-2026-107623"},{"type":"WEB","url":"https://access.redhat.com/security/cve/cve-2026-107889"},{"type":"WEB","url":"https://www.keycloak.org/2026/11/keycloak-2682-released"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:95761"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:95762"}]},{"provider":"cvelistv5","source_id":"CVE-2026-107889","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2026-107889","license":"CC-BY-4.0","published_at":"2026-10-09T04:28:55.081Z","modified_at":"2026-11-06T17:34:47.091Z","summary":"Keycloak-services: keycloak-services: stored xss on login page via kcsanitize bypass","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N","source":"CVE-2026-107889"}],"affected":[{"ecosystem":"CVE","package":"Red Hat/Red Hat build of Keycloak 26.6","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"26.6.8-2"}]}],"fixed":["26.6.8-2"],"provider":"cvelistv5","source":"CVE-2026-107889","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/Red Hat build of Keycloak 26.6","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"26.6-24"}]}],"fixed":["26.6-24"],"provider":"cvelistv5","source":"CVE-2026-107889","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/Red Hat build of Keycloak 26.6","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"26.6-24"}]}],"fixed":["26.6-24"],"provider":"cvelistv5","source":"CVE-2026-107889","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:95761"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:95762"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-107889"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2548355"}]},{"provider":"redhat-vex","source_id":"CVE-2026-107889","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2026-107889","license":"CC-BY-4.0","published_at":"2026-10-08T15:38:13Z","modified_at":"2026-10-09T04:50:55Z","summary":"keycloak-services: keycloak-services: Stored XSS on login page via kcSanitize bypass","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N","source":"CVE-2026-107889"},{"type":"Red Hat","score":"Moderate","source":"CVE-2026-107889"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat Single Sign-On 7","cpe":"cpe:/a:redhat:red_hat_single_sign_on:7","status":"not_affected","packages":["keycloak-services"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-107889"},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.6","cpe":"cpe:/a:redhat:build_keycloak:26.6::el9","status":"fixed","packages":["rhbk/keycloak-operator-bundle","rhbk/keycloak-rhel9","rhbk/keycloak-rhel9-operator"],"package_count":3,"fixed":[],"advisories":["RHSA-2026:95762"],"provider":"redhat-vex","source":"CVE-2026-107889"},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.6.8","cpe":"cpe:/a:redhat:build_keycloak:26.6::el9","status":"fixed","packages":[],"package_count":0,"fixed":[],"advisories":["RHSA-2026:95761"],"provider":"redhat-vex","source":"CVE-2026-107889"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-107889.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-107889"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2548355"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-107889"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-107889"}]}],"references":[{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:95761"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:95762"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-107889"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2548355"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-107889.json"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-107889"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-107889"}],"sources":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2026-3849","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-3849","license":"TLP:CLEAR, mirroring permitted","modified_at":"2026-11-08T23:00:00Z","relation":"upstream"},{"provider":"cvelistv5","source_id":"CVE-2026-107889","url":"https://www.cve.org/CVERecord?id=CVE-2026-107889","license":"CC-BY-4.0","modified_at":"2026-11-06T17:34:47.091Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2026-107889","url":"https://access.redhat.com/security/cve/CVE-2026-107889","license":"CC-BY-4.0","modified_at":"2026-10-09T04:50:55Z","relation":"self"}]}
