4.3Mittel

CVE-2025-10044Keycloak: keycloak error_description injection on error pages

Keycloak keycloak; 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 Veröffentlicht: (vor 1 Jahr)

Beschreibung

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.

Schwachstellentyp (CWE): CWE-79

Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.

Betroffene Produkte und Versionen

HerstellerProduktVersionen
build keycloak 26.0 —
build keycloak 26.2 —
Keycloak keycloak < 26.2.9
Red Hat Red Hat build of Keycloak 26.0 all versions
Red Hat Red Hat build of Keycloak 26.0.17 —
Red Hat Red Hat build of Keycloak 26.2 all versions
Red Hat Red Hat build of Keycloak 26.2.9 —

Referenzen und Patches