Описание
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.
Ссылки
- 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
Пакеты
org.keycloak:keycloak-account-ui
< 26.2.9
26.2.9
org.keycloak:keycloak-account-ui
>= 26.3.0, < 26.3.4
26.3.4
org.keycloak:keycloak-admin-ui
< 26.2.9
26.2.9
org.keycloak:keycloak-admin-ui
>= 26.3.0, < 26.3.4
26.3.4
Связанные уязвимости
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.
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.
A flaw was found in Keycloak. Keycloak\u2019s account console and othe ...