Skip to content
OpenAdvisories
Medium · 4.3 CVE-2025-10044 EUVD-2025-27029GHSA-27gc-wj6x-9w55GHSA-xmcw-mv9p-7pq2

Keycloak: keycloak error_description injection on error pages

Published Sep 5, 2025 · Updated Dec 19, 2025 · Assigned by redhat

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.

Affected products

VendorProductAffectedFixed
Keycloak keycloak < 26.2.9 26.2.9
Red Hat Red Hat build of Keycloak 26.0 — —
Red Hat Red Hat build of Keycloak 26.0.17 — —
Red Hat Red Hat build of Keycloak 26.2 — —
Red Hat Red Hat build of Keycloak 26.2.9 — —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.keycloak:keycloak-account-ui < 26.2.9 26.2.9 GHSA-27gc-wj6x-9w55
Maven org.keycloak:keycloak-account-ui >= 26.3.0, < 26.3.4 26.3.4 GHSA-27gc-wj6x-9w55
Maven org.keycloak:keycloak-admin-ui < 26.2.9 26.2.9 GHSA-27gc-wj6x-9w55
Maven org.keycloak:keycloak-admin-ui >= 26.3.0, < 26.3.4 26.3.4 GHSA-27gc-wj6x-9w55

Advisories 1

References