CVE-2026-37980
mediumpriority · track · 19EPSS 0.004 · 29 %ileDEEUUSEPSS · scored 2026-10-27
A flaw was found in Keycloak, specifically in the organization selection login page. A remote attacker with `manage-realm` or `manage-organizations` administrative privileges can exploit a Stored Cross-Site Scripting (XSS) vulnerability. This flaw occurs because the `organization.alias` is placed into an inline JavaScript `onclick` 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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (5)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2026-1105Keycloak: Schwachstelle ermöglicht Cross-Site ScriptingDeutsch2026-04-14csaf · cert_bundDE
Ein entfernter, authentisierter Angreifer kann eine Schwachstelle in Keycloak ausnutzen, um einen Cross-Site Scripting Angriff durchzuführen.
- GHSA-m32f-8vh9-2hh3Keycloak: Arbitrary code execution via Stored Cross-Site Scripting (XSS) in organization selection login page2026-04-14ghsa · osvUS
A flaw was found in Keycloak, specifically in the organization selection login page. A remote attacker with `manage-realm` or `manage-organizations` administrative privileges can exploit a Stored Cross-Site Scripting (XSS) vulnerability. This flaw occurs because the `organization.alias` is placed into an inline JavaScript `onclick` 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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (7)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/CVE-2026-37980cnnvd
- https://bugzilla.redhat.com/show_bug.cgi?id=2455325cnnvd
- https://access.redhat.com/security/cve/CVE-2026-37980enisa_euvd
- https://bugzilla.redhat.com/show_bug.cgi?id=2455325enisa_euvd
- https://access.redhat.com/errata/RHSA-2026:19596nvd
- https://access.redhat.com/security/cve/CVE-2026-37980MitigationVendor Advisorynvd
- https://bugzilla.redhat.com/show_bug.cgi?id=2455325Issue TrackingVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan