GHSA-xmcw-mv9p-7pq2: Duplicate Advisory: Keycloak error_description injection on error pages that can trigger phishing attacks
This advisory was withdrawn on Oct 16, 2025. The publisher no longer considers it a valid vulnerability.
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 errordescription query parameter. This text is directly rendered in error pages without validation or sanitization.
Published Sep 5, 2025 · Updated Dec 20, 2025
Affected packages
org.keycloak:keycloak-account-ui
- Ecosystem
- Maven
- Affected
- < 26.2.9
- Fixed in
- 26.2.9
- Check
mvn dependency:tree -Dincludes=org.keycloak:keycloak-account-ui
org.keycloak:keycloak-account-ui
- Ecosystem
- Maven
- Affected
- >= 26.3.0, < 26.3.4
- Fixed in
- 26.3.4
- Check
mvn dependency:tree -Dincludes=org.keycloak:keycloak-account-ui
org.keycloak:keycloak-admin-ui
- Ecosystem
- Maven
- Affected
- < 26.2.9
- Fixed in
- 26.2.9
- Check
mvn dependency:tree -Dincludes=org.keycloak:keycloak-admin-ui
org.keycloak:keycloak-admin-ui
- Ecosystem
- Maven
- Affected
- >= 26.3.0, < 26.3.4
- Fixed in
- 26.3.4
- Check
mvn dependency:tree -Dincludes=org.keycloak:keycloak-admin-ui
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to julianladisch.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-10044
- https://access.redhat.com/security/cve/CVE-2025-10044
- https://bugzilla.redhat.com/show_bug.cgi?id=2393551
- https://access.redhat.com/errata/RHSA-2025:16399
- https://access.redhat.com/errata/RHSA-2025:16400
- https://access.redhat.com/errata/RHSA-2025:19923
- https://access.redhat.com/errata/RHSA-2025:19925
- https://github.com/keycloak/keycloak/pull/42443
- https://github.com/advisories/GHSA-xmcw-mv9p-7pq2
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
