Security mailing lists by PureSourceCode

CVE-2026-37980

MEDIUM 4.8CVSS 3.1

Org.keycloak.forms.login: keycloak: keycloak: arbitrary code execution via stored cross-site scripting (xss) in organization selection login page

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.

Published
14 Apr 2026
Last modified
26 Nov 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-79
Also known as
GHSA-m32f-8vh9-2hh3
Sources
NVDJSONCVE ListJSONOSV GHSA-m32f-8vh9-2hh3JSON

Scores

SourceScored byVersionScoreVector / decision
NVD secalert@redhat.com (Secondary) CVSS 3.1 MEDIUM 6.9 CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N
CVE List redhat CVSS 3.1 MEDIUM 6.9 CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.9 CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 4.8 CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
CVE List CISA-ADP SSVC Exploitation: none; Automatable: no; Technical Impact: partial

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD redhat build_of_keycloak
cpe:2.3:a:redhat:build_of_keycloak:-:*:*:*:-:*:*:*
(no version)
CVE List Red Hat Red Hat build of Keycloak 26.4.12
cpe:/a:redhat:build_keycloak:26.4::el9
CVE List https://access.redhat.com/downloads/content/package-browser/ rhbk/keycloak-rhel9
cpe:/a:redhat:build_keycloak:
all versions
OSV Maven org.keycloak:keycloak-services <= 26.5.5

References

History

  • 26 Nov 2026 22:31 UTC · CVE List: first stored (published 14 Apr 2026)
  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 14 Apr 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 14 Apr 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.