GHSA-27gc-wj6x-9w55MediumCVSS 4.3

Keycloak error_description injection on error pages that can trigger phishing attacks

Published
October 17, 2025
Last Modified
October 17, 2025

🔗 CVE IDs covered (1)

📋 Description

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.

🎯 Affected products4

  • maven/org.keycloak:keycloak-account-ui:< 26.2.9
  • maven/org.keycloak:keycloak-account-ui:>= 26.3.0, < 26.3.4
  • maven/org.keycloak:keycloak-admin-ui:< 26.2.9
  • maven/org.keycloak:keycloak-admin-ui:>= 26.3.0, < 26.3.4

🔗 References (8)