Keycloak: keycloak error_description injection on error pages
13Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 4.3epss 0.3%
exploitation probability
0.3%top 79% of all CVEs
observed exploitation
nono source reports it
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Affected products
Keycloak · keycloakRed Hat · Red Hat build of Keycloak 26.0Red Hat · Red Hat build of Keycloak 26.0.17Red Hat · Red Hat build of Keycloak 26.2Red Hat · Red Hat build of Keycloak 26.2.9References
https://access.redhat.com/errata/RHSA-2025:16399https://access.redhat.com/errata/RHSA-2025:16400https://access.redhat.com/errata/RHSA-2025:19923https://access.redhat.com/errata/RHSA-2025:19925https://access.redhat.com/security/cve/CVE-2025-10044https://bugzilla.redhat.com/show_bug.cgi?id=2393551https://github.com/keycloak/keycloak/pull/42443