CVE-2025-10044
Keycloak: keycloak error_description injection on error pages
- State
- Published
- Severity
- 4.3 Medium
- Published
- Sep 5, 2025
- Updated
- Dec 19, 2025
- Reserved
- Sep 5, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 4.3 Medium | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N | redhat |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Products
| Product | Versions |
|---|---|
keycloakKeycloak |
|
Red Hat build of Keycloak 26.0Red Hat |
|
Red Hat build of Keycloak 26.0Red Hat |
|
Red Hat build of Keycloak 26.0Red Hat |
|
Red Hat build of Keycloak 26.0.17Red Hat | |
Red Hat build of Keycloak 26.2Red Hat |
|
Red Hat build of Keycloak 26.2Red Hat |
|
Red Hat build of Keycloak 26.2Red Hat |
|
Red Hat build of Keycloak 26.2.9Red Hat |
References
- RHSA-2025:16399vendor-advisory
- RHSA-2025:16400vendor-advisory
- RHSA-2025:19923vendor-advisory
- RHSA-2025:19925vendor-advisory
- https://access.redhat.com/security/cve/CVE-2025-10044vdb-entry
- RHBZ#2393551issue-tracking
- https://github.com/keycloak/keycloak/pull/42443
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.