{"id":"CVE-2025-10044","aliases":["CVE-2025-10044","GHSA-27gc-wj6x-9w55"],"related":[],"kind":"vulnerability","state":"published","title":"Keycloak: keycloak error_description injection on error pages","summary":"A flaw was found in Keycloak. Keycloak’s account console and other pages accept arbitrary text in the error_description query parameter. This text is directly rendered in error pages without validation or sanitization. While HTML encoding prevents XSS, an attacker can craft URLs with misleading messages (e.g., fake support phone numbers or URLs), which are displayed within the trusted Keycloak UI. This creates a phishing vector, potentially tricking users into contacting malicious actors.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A flaw was found in Keycloak. Keycloak’s account console and other pages accept arbitrary text in the error_description query parameter. This text is directly rendered in error pages without validation or sanitization. While HTML encoding prevents XSS, an attacker can craft URLs with misleading messages (e.g., fake support phone numbers or URLs), which are displayed within the trusted Keycloak UI. This creates a phishing vector, potentially tricking users into contacting malicious actors.","source":"cvelist"},{"lang":"en","text":"Keycloak’s account console accepts arbitrary text in the `error_description` query parameter. This text is directly rendered in error pages without validation or sanitization. While HTML encoding prevents XSS, an attacker can craft URLs with misleading messages (e.g., fake support phone numbers or URLs), which are displayed within the trusted Keycloak UI. This creates a phishing vector, potentially tricking users into contacting malicious actors.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se encontró un fallo en Keycloak. La consola de cuentas de Keycloak y otras páginas aceptan texto arbitrario en el parámetro de consulta error_description. Este texto se renderiza directamente en las páginas de error sin validación ni saneamiento. Aunque la codificación HTML previene XSS, un atacante puede diseñar URLs con mensajes engañosos (por ejemplo, números de teléfono de soporte falsos o URLs), que se muestran dentro de la interfaz de usuario (UI) de confianza de Keycloak. Esto crea un vector de phishing, engañando potencialmente a los usuarios para que contacten a actores maliciosos.","source":"nvd"}],"published":"2025-09-05T19:59:04.454Z","modified":"2026-11-26T20:46:02.638Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"26.2.9","status":"affected"}],"vendor":"Keycloak","product":"keycloak","package":"keycloak","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"26.0.17-1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.0","package":"rhbk/keycloak-operator-bundle","cpe":"cpe:/a:redhat:build_keycloak:26.0::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"26.0-21","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.0","package":"rhbk/keycloak-rhel9","cpe":"cpe:/a:redhat:build_keycloak:26.0::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"26.0-22","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.0","package":"rhbk/keycloak-rhel9-operator","cpe":"cpe:/a:redhat:build_keycloak:26.0::el9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.0.17","package":"keycloak","cpe":"cpe:/a:redhat:build_keycloak:26.0","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"26.2.9-1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.2","package":"rhbk/keycloak-operator-bundle","cpe":"cpe:/a:redhat:build_keycloak:26.2::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"26.2-9","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.2","package":"rhbk/keycloak-rhel9","cpe":"cpe:/a:redhat:build_keycloak:26.2::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"26.2-9","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.2","package":"rhbk/keycloak-rhel9-operator","cpe":"cpe:/a:redhat:build_keycloak:26.2::el9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.2.9","package":"keycloak","cpe":"cpe:/a:redhat:build_keycloak:26.2::el9","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"26.2.9"}],"ecosystem":"Maven","package":"org.keycloak:keycloak-account-ui","purl":"pkg:maven/org.keycloak/keycloak-account-ui","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"26.3.0","status":"affected","fixed":"26.3.4"}],"ecosystem":"Maven","package":"org.keycloak:keycloak-account-ui","purl":"pkg:maven/org.keycloak/keycloak-account-ui","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"26.2.9"}],"ecosystem":"Maven","package":"org.keycloak:keycloak-admin-ui","purl":"pkg:maven/org.keycloak/keycloak-admin-ui","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"26.3.0","status":"affected","fixed":"26.3.4"}],"ecosystem":"Maven","package":"org.keycloak:keycloak-admin-ui","purl":"pkg:maven/org.keycloak/keycloak-admin-ui","source":"ghsa"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2025:16399","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2025:16400","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2025:19923","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2025:19925","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2025-10044","tags":["vdb-entry","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2393551","tags":["issue-tracking","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/keycloak/keycloak/pull/42443","tags":[],"sources":["cvelist","nvd"]},{"url":"https://github.com/keycloak/keycloak/security/advisories/GHSA-27gc-wj6x-9w55","tags":["web"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-10044","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/keycloak/keycloak/pull/42035","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/keycloak/keycloak","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-09-05T20:15:11.764Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-10044","url":"https://www.cve.org/CVERecord?id=CVE-2025-10044","licence":"CVE Terms of Use","modified":"2026-11-26T20:46:02.638Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-27gc-wj6x-9w55","url":"https://github.com/advisories/GHSA-27gc-wj6x-9w55","licence":"CC-BY-4.0","modified":"2025-10-17T18:42:44.372Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-10044","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-10044","licence":"Public domain","modified":"2026-10-18T21:10:00.120Z"}],"updatedAt":"2026-11-26T20:57:21.409Z","epss":{"score":0.00361,"percentile":0.3194,"date":"2026-12-01T12:00:22.000Z"}}