CVE-2025-10044
Keycloak: keycloak error_description injection on error pages
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
4.3
Keycloak: keycloak error_description injection on error pages
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.
- Record
CVE-2025-10044- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
EUVDEUVD-2025-27029
4.3
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.
- Record
EUVD-2025-27029- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-27gc-wj6x-9w55
4.3
Keycloak error_description injection on error pages that can trigger phishing attacks
Keycloak’s account console accepts 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.
- Record
GHSA-27gc-wj6x-9w55- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
GitHub AdvisoriesGHSA-xmcw-mv9p-7pq2
4.3
Duplicate Advisory: Keycloak error_description injection on error pages that can trigger phishing attacks
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-27gc-wj6x-9w55. This link is maintained to preserve external references.
Original 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.
- Record
GHSA-xmcw-mv9p-7pq2- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
NVD
4.3
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.
- Record
CVE-2025-10044- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSV
4.3
Keycloak: keycloak error_description injection on error pages
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.
- Record
CVE-2025-10044- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSVGHSA-27gc-wj6x-9w55
4.3
Keycloak error_description injection on error pages that can trigger phishing attacks
Keycloak’s account console accepts 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.
- Record
GHSA-27gc-wj6x-9w55- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSVGHSA-xmcw-mv9p-7pq2
4.3
Duplicate Advisory: Keycloak error_description injection on error pages that can trigger phishing attacks
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-27gc-wj6x-9w55. This link is maintained to preserve external references.
Original 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.
- Record
GHSA-xmcw-mv9p-7pq2- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.keycloak:keycloak-account-uiMaven |
before 26.2.9 | 26.2.9 |
org.keycloak:keycloak-account-uiMaven |
26.3.0 up to 26.3.4 | 26.3.4 |
org.keycloak:keycloak-admin-uiMaven |
before 26.2.9 | 26.2.9 |
org.keycloak:keycloak-admin-uiMaven |
26.3.0 up to 26.3.4 | 26.3.4 |
org.keycloak:keycloak-account-uiMaven |
before 26.2.9, plus listed versions 21.1.121.1.222.0.022.0.122.0.2 Show 45 moreShow less22.0.322.0.422.0.523.0.023.0.123.0.223.0.323.0.423.0.523.0.623.0.724.0.024.0.124.0.224.0.324.0.424.0.525.0.025.0.125.0.225.0.325.0.425.0.525.0.626.0.026.0.126.0.226.0.326.0.426.0.526.0.626.0.726.0.826.1.026.1.126.1.226.1.326.1.426.1.526.2.026.2.126.2.226.2.326.2.426.2.5 |
26.2.9 |
org.keycloak:keycloak-account-uiMaven |
26.3.0 up to 26.3.4, plus listed versions 26.3.126.3.226.3.3 |
26.3.4 |
org.keycloak:keycloak-admin-uiMaven |
before 26.2.9, plus listed versions 1.0-alpha-11.0-alpha-1-120620131.0-alpha-21.0-alpha-31.0-alpha-4 Show 45 moreShow less15.1.015.1.116.0.016.1.016.1.117.0.017.0.118.0.118.0.219.0.019.0.119.0.219.0.320.0.020.0.120.0.220.0.320.0.420.0.521.0.021.0.121.0.221.1.121.1.222.0.022.0.122.0.222.0.322.0.422.0.522.19.023.0.023.0.123.0.223.0.323.0.423.0.523.0.623.0.724.0.024.0.124.0.224.0.324.0.424.0.5 |
26.2.9 |
org.keycloak:keycloak-admin-uiMaven |
26.3.0 up to 26.3.4, plus listed versions 26.3.126.3.226.3.3 |
26.3.4 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-10044 is a medium vulnerability (CVSS 4.3) in Keycloak, published September 5, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.32%, the 25th percentile. Fixed in org.keycloak:keycloak-account-ui 26.2.9.
References
access.redhat.com/errata/RHSA-2025:16399
access.redhat.com/errata/RHSA-2025:16400
access.redhat.com/errata/RHSA-2025:19923
access.redhat.com/errata/RHSA-2025:19925
access.redhat.com/security/cve/CVE-2025-10044
bugzilla.redhat.com/show_bug.cgi?id=2393551
Show 10 moreShow less
github.com/keycloak/keycloak/pull/42443
github.com/keycloak/keycloak/security/advisories/GHSA-27gc-wj6x-9w55
nvd.nist.gov/vuln/detail/CVE-2025-10044
github.com/keycloak/keycloak/pull/42035
github.com/advisories/GHSA-27gc-wj6x-9w55
github.com/advisories/GHSA-xmcw-mv9p-7pq2
access.redhat.com/downloads/content/package-browser
catalog.redhat.com/software/containers
github.com/CVEProject/cvelistV5/tree/main/cves/2025/10xxx/CVE-2025-10044.json
github.com/keycloak/keycloak
Left out here: 28 versions. The JSON record has them.