Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Keycloak / keycloak | affected 0 before 26.2.9 |
| Red Hat / Red Hat build of Keycloak 26.0 | unaffected 26.0.17-1 before * |
| Red Hat / Red Hat build of Keycloak 26.0 | unaffected 26.0-21 before * |
| Red Hat / Red Hat build of Keycloak 26.0 | unaffected 26.0-22 before * |
| Red Hat / Red Hat build of Keycloak 26.0.17 | unaffected |
| Red Hat / Red Hat build of Keycloak 26.2 | unaffected 26.2.9-1 before * |
| Red Hat / Red Hat build of Keycloak 26.2 | unaffected 26.2-9 before * |
| Red Hat / Red Hat build of Keycloak 26.2 | unaffected 26.2-9 before * |
| Red Hat / Red Hat build of Keycloak 26.2.9 | unaffected |
CWE
CWE-79
References
- https://access.redhat.com/errata/RHSA-2025:16399
- https://access.redhat.com/errata/RHSA-2025:16400
- https://access.redhat.com/errata/RHSA-2025:19923
- https://access.redhat.com/errata/RHSA-2025:19925
- https://access.redhat.com/security/cve/CVE-2025-10044
- https://bugzilla.redhat.com/show_bug.cgi?id=2393551
- https://github.com/keycloak/keycloak/pull/42443
ADP enrichment
No English description supplied.
No references supplied.