CVE-2025-10044
Keycloak: keycloak error_description injection on error pages
- Published
- Updated
- Reserved
- Assigned by
- redhat
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
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | Medium4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N |
| NVDNVD · Deferred | 3.1 | Medium4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N |
- EPSS (exploitation in 30 days)
- 0.32% · top 74% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.3.
Weakness
Affected products
- affected < 26.2.9
Red Hat · Red Hat build of Keycloak 26.0
- unaffected 26.0.17-1 – < *
Red Hat · Red Hat build of Keycloak 26.0
- unaffected 26.0-21 – < *
Red Hat · Red Hat build of Keycloak 26.0
- unaffected 26.0-22 – < *
Red Hat · Red Hat build of Keycloak 26.0.17
All versions: unaffected
Red Hat · Red Hat build of Keycloak 26.2
- unaffected 26.2.9-1 – < *
Red Hat · Red Hat build of Keycloak 26.2
- unaffected 26.2-9 – < *
Red Hat · Red Hat build of Keycloak 26.2
- unaffected 26.2-9 – < *
Red Hat · Red Hat build of Keycloak 26.2.9
All versions: unaffected
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.keycloak:keycloak-account-uiGHSA-27gc-wj6x-9w55 (opens in a new tab)
- Mavenorg.keycloak:keycloak-admin-uiGHSA-27gc-wj6x-9w55 (opens in a new tab)
What to do
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.
References (7)
- RHSA-2025:16399 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2025:16400 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2025:19923 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2025:19925 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2025-10044 (opens in a new tab)vdb-entryx_refsource_REDHAT
- RHBZ#2393551 (opens in a new tab)issue-trackingx_refsource_REDHAT
- https://github.com/keycloak/keycloak/pull/42443 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-27gc-wj6x-9w55 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2025-10044)Record last updated .