GitHub Advisoryadvisory · Maven
GHSA-27gc-wj6x-9w55 Keycloak error_description injection on error pages that can trigger phishing attacks
MEDIUM
Official page ↗
- Aliases
- CVE-2025-10044
- Ecosystem
- Maven
- Packages
- org.keycloak:keycloak-account-ui, org.keycloak:keycloak-admin-ui
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2025-10-17
Affected packages
• Maven org.keycloak:keycloak-account-ui: < 26.2.9 → fixed in 26.2.9
• Maven org.keycloak:keycloak-account-ui: >= 26.3.0, < 26.3.4 → fixed in 26.3.4
• Maven org.keycloak:keycloak-admin-ui: < 26.2.9 → fixed in 26.2.9
• Maven org.keycloak:keycloak-admin-ui: >= 26.3.0, < 26.3.4 → fixed in 26.3.4
Description
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.
Related
Alias · CVE (1)
- CVE-2025-10044 A flaw was found in Keycloak. vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://github.com/keycloak/keycloak/security/advisories/GHSA-27gc-wj6x-9w55 web
- https://nvd.nist.gov/vuln/detail/CVE-2025-10044 advisory
- https://github.com/keycloak/keycloak/pull/42035 web
- https://access.redhat.com/errata/RHSA-2025:16399 web
- https://access.redhat.com/errata/RHSA-2025:16400 web
- https://access.redhat.com/security/cve/CVE-2025-10044 web
- https://bugzilla.redhat.com/show_bug.cgi?id=2393551 web
- https://github.com/keycloak/keycloak package