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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.keycloak:keycloak-account-ui | < 26.2.9, >= 26.3.0, < 26.3.4 | 26.2.9, 26.3.4 |
| Java / Kotlin (Maven) | org.keycloak:keycloak-admin-ui | < 26.2.9, >= 26.3.0, < 26.3.4 | 26.2.9, 26.3.4 |
References
- https://github.com/keycloak/keycloak/security/advisories/GHSA-27gc-wj6x-9w55
- https://nvd.nist.gov/vuln/detail/CVE-2025-10044
- https://github.com/keycloak/keycloak/pull/42035
- https://access.redhat.com/errata/RHSA-2025:16399
- https://access.redhat.com/errata/RHSA-2025:16400
- https://access.redhat.com/security/cve/CVE-2025-10044
- https://bugzilla.redhat.com/show_bug.cgi?id=2393551
- https://github.com/keycloak/keycloak
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N- Weakness (CWE)
CWE-79- Platform
- Java / Kotlin (Maven)
- Package
org.keycloak:keycloak-account-ui, org.keycloak:keycloak-admin-ui- Disclosed
- 17.10.2025
- Updated
- 11.10.2026 12:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-27gc-wj6x-9w55 - CC BY 4.0
Vulnerability history: org.keycloak:keycloak-admin-ui
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.