CVE-2026-37980: redhat build_of_keycloak Cross-site Scripting
Vulnerability summary
CVE-2026-37980 is a medium (CVSS 6.9) Cross-site Scripting vulnerability in redhat build_of_keycloak. EPSS estimates a 0.38% chance of exploitation in the next 30 days, higher than 31% of scored vulnerabilities.
Timeline
- 14-04-2026PublishedVulnerability first disclosed.
- 14-04-2026Last modifiedVulnerability information updated.
Description
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 metrics
5 scores · 5 sources · 1 version- OSV · WolfiEcosystem advisory · calculated6.9MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N
- OSV · ChainguardEcosystem advisory · calculated6.9MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N
- OSV · MavenEcosystem advisory · calculated6.9MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N
- NVDNIST4.8MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:NDiffers
EPSS trend
Probability
0.38%
Chance of exploitation in the next 30 days
Percentile
31%
Versus all other CVEs
30-day change
+0.16 pp
From 0.23% on 22-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard6 products
- keycloak-26.4All versions (No fix recorded)
- keycloak-26.4-iamguarded-compatAll versions (No fix recorded)
- keycloak-fips-26.4All versions (No fix recorded)
- keycloak-fips-26.4-iamguarded-fipsAll versions (No fix recorded)
- request-9047-keycloak-fips-26.4All versions (No fix recorded)
Wolfi2 products
- keycloak-26.4All versions (No fix recorded)
- keycloak-26.4-iamguarded-compatAll versions (No fix recorded)
Org.keycloak1 product
- keycloak-services≤ 26.5.5
Redhat1 product
4 vendors · 10 products
References
5 links- access.redhat.com/security/cve/CVE-2026-37980VDB EntryX Refsource REDHATWEBMitigationVendor Advisory
- github.com/keycloak/keycloakPACKAGE