{"schema":"threatline.record/2","record":{"id":"CVE-2026-37980","aliases":["GHSA-m32f-8vh9-2hh3"],"summary":"Keycloak: Arbitrary code execution via Stored Cross-Site Scripting (XSS) in organization selection login page","details":"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.","categories":["Identity & access"],"product":"org.keycloak:keycloak-services","vendor":"Red Hat","ecosystem":"maven","affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-m32f-8vh9-2hh3","source_modified_at":"2026-10-22T21:33:03Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"maven","name":"org.keycloak:keycloak-services"},"range":"<= 26.5.5"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-37980","source_modified_at":"2026-10-22T20:38:08.354Z","fetched_at":"2026-10-23T18:42:43.628194Z","product":"Red Hat build of Keycloak 26.4.12","vendor":"Red Hat","versions":[],"defaultStatus":"unaffected"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-37980","source_modified_at":"2026-10-22T20:38:08.354Z","fetched_at":"2026-10-23T18:42:43.628194Z","product":"Red Hat Build of Keycloak","vendor":"Red Hat","versions":[],"defaultStatus":"affected"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-m32f-8vh9-2hh3","source_modified_at":"2026-10-22T21:45:09.837821301Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"name":"org.keycloak:keycloak-services","ecosystem":"Maven","purl":"pkg:maven/org.keycloak/keycloak-services"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"26.5.5"}]}],"versions":["1.0-alpha-1","1.0-alpha-1-12062013","1.0-alpha-2","1.0-alpha-3","1.0-alpha-4","1.0-beta-1","1.0-beta-1-20150521","1.0-beta-1-20150523","1.0-beta-2","1.0-beta-3","1.0-beta-4","1.0-final","1.0-rc-1","1.0-rc-2","1.0.1.Final","1.0.2.Final","1.0.3.Final","1.0.4.Final","1.0.5.Final","1.1.0.Beta1","1.1.0.Beta2","1.1.0.Final","1.1.1.Final","1.2.0.Beta1","1.2.0.CR1","1.2.0.Final","1.3.0.Final","1.3.1.Final","1.4.0.Final","1.5.0-Final","1.5.0.Final","1.5.1.Final","1.6.0.Final","1.6.1.Final","1.7.0.CR1","1.7.0.Final","1.8.0.Alpha1","1.8.0.CR1","1.8.0.CR2","1.8.0.CR3","1.8.0.Final","1.8.1.Final","1.9.0.CR1","1.9.0.Final","1.9.1.Final","1.9.2.Final","1.9.3.Final","1.9.4.Final","1.9.5.Final","1.9.7.Final"]}],"fixed_versions":[],"cvss":6.9,"severity":"Medium","kev":{"listed":false},"epss":{"probability":0.00355,"percentile":0.28059,"score_date":"2026-10-23"},"published_at":"2026-04-14T14:54:42.871Z","modified_at":"2026-10-22T21:45:09.837821301Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/advisories/GHSA-m32f-8vh9-2hh3","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-22T21:33:03Z"},{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-37980","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-22T20:38:08.354Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-m32f-8vh9-2hh3","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-22T21:45:09.837821301Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-37980","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["GitHub Advisory Database","CVE List","OSV","EPSS"],"references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-37980","source":"GitHub Advisory Database"},{"source":"CVE List","url":"https://access.redhat.com/security/cve/CVE-2026-37980","tags":["vdb-entry","x_refsource_REDHAT"]},{"source":"CVE List","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2455325","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://github.com/keycloak/keycloak/issues/48049","source":"GitHub Advisory Database"},{"source":"CVE List","url":"https://access.redhat.com/errata/RHSA-2026:19596","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://github.com/advisories/GHSA-m32f-8vh9-2hh3","source":"GitHub Advisory Database"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","assessed_at":"2026-04-14T15:42:46.799995Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"product","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-22T21:45:09.837821301Z","content_hash":"aab0198db7c83d549adf8bda3a079d0fde46fcef82187275df8fb156673ae2f1"}}
