Keycloak: keycloak error_description injection on error pages
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Keycloak | keycloak | unaffected |
|
||||||
| Red Hat | Red Hat build of Keycloak 26.0 | affected |
|
||||||
| Red Hat | Red Hat build of Keycloak 26.0 | affected |
|
||||||
| Red Hat | Red Hat build of Keycloak 26.0 | affected |
|
||||||
| Red Hat | Red Hat build of Keycloak 26.0.17 | unaffected | — | ||||||
| Red Hat | Red Hat build of Keycloak 26.2 | affected |
|
||||||
| Red Hat | Red Hat build of Keycloak 26.2 | affected |
|
||||||
| Red Hat | Red Hat build of Keycloak 26.2 | affected |
|
||||||
| Red Hat | Red Hat build of Keycloak 26.2.9 | unaffected | — |
No data.
No data.
No data available yet.
Vendor Workaround
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2025-27029 | 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. |
Github GHSA |
GHSA-27gc-wj6x-9w55 | Keycloak error_description injection on error pages that can trigger phishing attacks |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.324% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:/a:redhat:build_keycloak:26.0 cpe:/a:redhat:build_keycloak:26.0::el9 |
|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:/a:redhat:build_keycloak:26.2::el9 | |
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Keycloak: keycloak error_description injection on error pages | |
| First Time appeared |
Redhat
Redhat build Keycloak |
|
| Weaknesses | CWE-79 | |
| CPEs | cpe:/a:redhat:build_keycloak: | |
| Vendors & Products |
Redhat
Redhat build Keycloak |
|
| References |
| |
| Metrics |
cvssV3_1
|