CVE-2025-10044Keycloak: 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.
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| build keycloak | 26.0 | — | |
| build keycloak | 26.2 | — | |
| Keycloak | keycloak | < 26.2.9 | |
| Red Hat | Red Hat build of Keycloak 26.0 | all versions | |
| Red Hat | Red Hat build of Keycloak 26.0.17 | — | |
| Red Hat | Red Hat build of Keycloak 26.2 | all versions | |
| Red Hat | Red Hat build of Keycloak 26.2.9 | — |
References and patches
- RHSA-2025:16399 vendor-advisory
- RHSA-2025:16400 vendor-advisory
- RHSA-2025:19923 vendor-advisory
- RHSA-2025:19925 vendor-advisory
- https://access.redhat.com/security/cve/CVE-2025-10044 vdb-entry
- RHBZ#2393551 issue-tracking
- https://github.com/keycloak/keycloak/pull/42443