Skip to content
CVE PROGRAM SOURCE RECORD4.3 Medium

CVE-2025-10044

Keycloak: keycloak error_description injection on error pages

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Keycloak keycloak

Default version status: unaffected

  • 0 to < 26.2.9affected

Red Hat Red Hat build of Keycloak 26.0

Default version status: affected

  • 26.0.17-1 to < *unaffected

Red Hat Red Hat build of Keycloak 26.0

Default version status: affected

  • 26.0-21 to < *unaffected

Red Hat Red Hat build of Keycloak 26.0

Default version status: affected

  • 26.0-22 to < *unaffected

Red Hat Red Hat build of Keycloak 26.0.17

Default version status: unaffected

Red Hat Red Hat build of Keycloak 26.2

Default version status: affected

  • 26.2.9-1 to < *unaffected

Red Hat Red Hat build of Keycloak 26.2

Default version status: affected

  • 26.2-9 to < *unaffected

Red Hat Red Hat build of Keycloak 26.2

Default version status: affected

  • 26.2-9 to < *unaffected

Red Hat Red Hat build of Keycloak 26.2.9

Default version status: unaffected

References