GHSA-27gc-wj6x-9w55

    Dashboard / Vulnerabilities / GHSA-27gc-wj6x-9w55

    GHSA-27gc-wj6x-9w55

    Published: 17 Oct 2025Last Modified: 17 Oct 2025

    Summary: Keycloak error_description injection on error pages that can trigger phishing attacks

    Details: 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 packages

    Package

    Name: org.keycloak:keycloak-account-ui

    Purl: pkg:maven/org.keycloak/keycloak-account-ui

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -26.2.9

    Affected versions

    21.1.1
    21.1.2

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-27gc-wj6x-9w55 | CVE-DB