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.
                
            Metrics
Affected Vendors & Products
References
        History
                    Mon, 22 Sep 2025 16:15:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| References |  | 
Mon, 22 Sep 2025 15:45:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| CPEs | cpe:/a:redhat:build_keycloak:26.2::el9 | |
| References |  | 
Sat, 06 Sep 2025 00:15:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| References |  | |
| Metrics | threat_severity 
 | threat_severity 
 | 
Fri, 05 Sep 2025 21:15:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| Metrics | ssvc 
 | 
Fri, 05 Sep 2025 20:15:00 +0000
| 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 
 | 
 MITRE
                        MITRE
                    Status: PUBLISHED
Assigner: redhat
Published: 2025-09-05T19:59:04.454Z
Updated: 2025-09-22T16:03:55.367Z
Reserved: 2025-09-05T18:19:49.483Z
Link: CVE-2025-10044
 Vulnrichment
                        Vulnrichment
                    Updated: 2025-09-05T20:15:15.449Z
 NVD
                        NVD
                    Status : Awaiting Analysis
Published: 2025-09-05T20:15:34.430
Modified: 2025-09-22T16:15:39.547
Link: CVE-2025-10044
 Redhat
                        Redhat