{"id":"CVE-2025-10044","aliases":["EUVD-2025-27029","GHSA-27gc-wj6x-9w55","GHSA-xmcw-mv9p-7pq2"],"status":"published","title":"Keycloak: keycloak error_description injection on error pages","description":"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.","severity":{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00324,"percentile":0.25674,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2025-09-05T19:59:04Z","modified":"2026-10-28T02:31:01Z","fixes":[{"ecosystem":"Maven","package":"org.keycloak:keycloak-account-ui","fixed_in":["26.2.9","26.3.4"],"sources":["ghsa","osv"]},{"ecosystem":"Maven","package":"org.keycloak:keycloak-admin-ui","fixed_in":["26.2.9","26.3.4"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.keycloak:keycloak-account-ui","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"26.2.9"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.keycloak:keycloak-account-ui","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"26.3.0"},{"fixed":"26.3.4"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.keycloak:keycloak-admin-ui","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"26.2.9"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.keycloak:keycloak-admin-ui","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"26.3.0"},{"fixed":"26.3.4"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.keycloak:keycloak-account-ui","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"26.2.9"}]}],"versions":["21.1.1","21.1.2","22.0.0","22.0.1","22.0.2","22.0.3","22.0.4","22.0.5","23.0.0","23.0.1","23.0.2","23.0.3","23.0.4","23.0.5","23.0.6","23.0.7","24.0.0","24.0.1","24.0.2","24.0.3","24.0.4","24.0.5","25.0.0","25.0.1","25.0.2","25.0.3","25.0.4","25.0.5","25.0.6","26.0.0","26.0.1","26.0.2","26.0.3","26.0.4","26.0.5","26.0.6","26.0.7","26.0.8","26.1.0","26.1.1","26.1.2","26.1.3","26.1.4","26.1.5","26.2.0","26.2.1","26.2.2","26.2.3","26.2.4","26.2.5"]},{"source":"osv","ecosystem":"Maven","package":"org.keycloak:keycloak-account-ui","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"26.3.0"},{"fixed":"26.3.4"}]}],"versions":["26.3.0","26.3.1","26.3.2","26.3.3"]},{"source":"osv","ecosystem":"Maven","package":"org.keycloak:keycloak-admin-ui","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"26.2.9"}]}],"versions":["1.0-alpha-1","1.0-alpha-1-12062013","1.0-alpha-2","1.0-alpha-3","1.0-alpha-4","15.1.0","15.1.1","16.0.0","16.1.0","16.1.1","17.0.0","17.0.1","18.0.1","18.0.2","19.0.0","19.0.1","19.0.2","19.0.3","20.0.0","20.0.1","20.0.2","20.0.3","20.0.4","20.0.5","21.0.0","21.0.1","21.0.2","21.1.1","21.1.2","22.0.0","22.0.1","22.0.2","22.0.3","22.0.4","22.0.5","22.19.0","23.0.0","23.0.1","23.0.2","23.0.3","23.0.4","23.0.5","23.0.6","23.0.7","24.0.0","24.0.1","24.0.2","24.0.3","24.0.4","24.0.5","25.0.0","25.0.1","25.0.2","25.0.3","25.0.4","25.0.5","25.0.6","26.0.0","26.0.1","26.0.2","26.0.3","26.0.4","26.0.5","26.0.6","26.0.7","26.0.8","26.1.0","26.1.1","26.1.2","26.1.3","26.1.4","26.1.5","26.2.0","26.2.1","26.2.2","26.2.3","26.2.4","26.2.5"]},{"source":"osv","ecosystem":"Maven","package":"org.keycloak:keycloak-admin-ui","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"26.3.0"},{"fixed":"26.3.4"}]}],"versions":["26.3.0","26.3.1","26.3.2","26.3.3"]}],"products":[{"vendor":"keycloak","product":"keycloak"},{"vendor":"red hat","product":"red hat build of keycloak 26.0"},{"vendor":"red hat","product":"red hat build of keycloak 26.0.17"},{"vendor":"red hat","product":"red hat build of keycloak 26.2"},{"vendor":"red hat","product":"red hat build of keycloak 26.2.9"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2025:16399","tags":["vendor-advisory","x_refsource_REDHAT","advisory","web"]},{"url":"https://access.redhat.com/errata/RHSA-2025:16400","tags":["vendor-advisory","x_refsource_REDHAT","advisory","web"]},{"url":"https://access.redhat.com/errata/RHSA-2025:19923","tags":["vendor-advisory","x_refsource_REDHAT","advisory","web"]},{"url":"https://access.redhat.com/errata/RHSA-2025:19925","tags":["vendor-advisory","x_refsource_REDHAT","advisory","web"]},{"url":"https://access.redhat.com/security/cve/CVE-2025-10044","tags":["vdb-entry","x_refsource_REDHAT","advisory","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2393551","tags":["issue-tracking","x_refsource_REDHAT","report","web"]},{"url":"https://github.com/keycloak/keycloak/pull/42443","tags":["fix","web"]},{"url":"https://github.com/keycloak/keycloak/security/advisories/GHSA-27gc-wj6x-9w55","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-10044","tags":["advisory"]},{"url":"https://github.com/keycloak/keycloak/pull/42035","tags":["web"]},{"url":"https://github.com/advisories/GHSA-27gc-wj6x-9w55"},{"url":"https://github.com/advisories/GHSA-xmcw-mv9p-7pq2"},{"url":"https://access.redhat.com/downloads/content/package-browser/","tags":["web"]},{"url":"https://catalog.redhat.com/software/containers/","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/10xxx/CVE-2025-10044.json","tags":["advisory"]},{"url":"https://github.com/keycloak/keycloak","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2025-10044","title":"Keycloak: keycloak error_description injection on error pages","description":"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.","status":"published","published":"2025-09-05T19:59:04.454Z","modified":"2025-12-19T21:46:30.461Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:32:30.643267Z"}],"euvd":[{"id":"EUVD-2025-27029","description":"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.","status":"published","published":"2025-09-05T19:59:04Z","modified":"2025-12-19T21:46:30Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T19:49:02.188903Z"}],"ghsa":[{"id":"GHSA-27gc-wj6x-9w55","title":"Keycloak error_description injection on error pages that can trigger phishing attacks","description":"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.","status":"published","published":"2025-10-17T17:39:13Z","modified":"2025-10-17T17:39:14Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:39:01.677422Z"},{"id":"GHSA-xmcw-mv9p-7pq2","title":"Duplicate Advisory: Keycloak error_description injection on error pages that can trigger phishing attacks","description":"### Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-27gc-wj6x-9w55. This link is maintained to preserve external references.\n\n### Original Description\nA 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.","status":"withdrawn","published":"2025-09-05T21:32:38Z","modified":"2025-12-20T05:46:58Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:39:14.093341Z"}],"nvd":[{"id":"CVE-2025-10044","description":"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.","status":"published","published":"2025-09-05T20:15:34.43Z","modified":"2026-10-18T21:10:00.12Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:11:27.73916Z"}],"osv":[{"id":"CVE-2025-10044","title":"Keycloak: keycloak error_description injection on error pages","description":"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.","status":"published","published":"2025-09-05T19:59:04.454Z","modified":"2026-10-28T02:31:01.145632439Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:44:45.712478Z"},{"id":"GHSA-27gc-wj6x-9w55","title":"Keycloak error_description injection on error pages that can trigger phishing attacks","description":"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.","status":"published","published":"2025-10-17T17:39:13Z","modified":"2025-10-17T18:42:44.372189Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:33.956911Z"},{"id":"GHSA-xmcw-mv9p-7pq2","title":"Duplicate Advisory: Keycloak error_description injection on error pages that can trigger phishing attacks","description":"### Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-27gc-wj6x-9w55. This link is maintained to preserve external references.\n\n### Original Description\nA 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.","status":"withdrawn","published":"2025-09-05T21:32:38Z","modified":"2025-12-20T06:09:28.393438Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:47:00.198893Z"}]}}
