Keycloak error_description injection on error pages that can trigger phishing attacks
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.
01
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2025-10044US | — | — | ||
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 pag… | ||||
02
references
External citations — patches, advisories, analysis.
- https://access.redhat.com/errata/RHSA-2025:16399WEB
- https://access.redhat.com/errata/RHSA-2025:16400WEB
- https://access.redhat.com/security/cve/CVE-2025-10044WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2393551WEB
- https://github.com/keycloak/keycloakPACKAGE
- https://github.com/keycloak/keycloak/pull/42035WEB
- https://github.com/keycloak/keycloak/security/advisories/GHSA-27gc-wj6x-9w55WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-10044ADVISORY
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan