GHSA-xmcw-mv9p-7pq2: Duplicate Advisory: Keycloak error_description injection on error pages that can trigger phishing attacks
(updated )
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.
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
- github.com/advisories/GHSA-xmcw-mv9p-7pq2
- nvd.nist.gov/vuln/detail/CVE-2025-10044
Code Behaviors & Features
Detect and mitigate GHSA-xmcw-mv9p-7pq2 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →