Findings

CVE-2026-37980

A flaw was found in Keycloak, specifically in the organization selection login page.

Published Apr 14, 2026 · updated Jun 17, 2026 · redhat build of keycloak

A flaw was found in Keycloak, specifically in the organization selection login page. A remote attacker with or administrative privileges can exploit a Stored Cross-Site Scripting (XSS) vulnerability. This flaw occurs because the is placed into an inline JavaScript handler, allowing a crafted JavaScript payload to execute in a user's browser when they view the login page. Successful exploitation enables arbitrary JavaScript execution, potentially leading to session theft, unauthorized account actions, or further attacks against users of the affected realm.

Code

The project this record applies to. Exploit listings stay in References.

No public source repository is identified for this product.

Timeline

Detection, updates, and resolution for this record.

  1. Apr 14, 2026 · NIST NVD

    Detected

    A flaw was found in Keycloak, specifically in the organization selection login page. A remote attacker with or administrative privileges can exploit a Stored Cross-Site Scripting (XSS) vulnerability. This flaw occurs because the is placed into an inline JavaScript handler, allowing a crafted JavaScript payload to execute in a user's browser when they view the login page. Successful exploitation en

  2. Jun 17, 2026 · NIST NVD

    Updated

    A flaw was found in Keycloak, specifically in the organization selection login page. A remote attacker with or administrative privileges can exploit a Stored Cross-Site Scripting (XSS) vulnerability. This flaw occurs because the is placed into an inline JavaScript handler, allowing a crafted JavaScript payload to execute in a user's browser when they view the login page. Successful exploitation en

Affected

  • cpe redhat/build of keycloakversion unspecified

Sources

  • CVE.orgVulnerability recordCVE-2026-37980

    Official CVE identifier

    cve.org
  • NIST NVDVulnerability recordCVE-2026-37980

    A flaw was found in Keycloak, specifically in the organization selection login page. A remote attacker with or administrative privileges can exploit a Stored Cross-Site Scripting (XSS) vulnerability. This flaw occurs because the `organization

    nvd.nist.gov

References