Skip to main content

Build Of Keycloak EUVDEUVD-2026-22294

| CVE-2026-37980 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-04-14 secalert@redhat.com GHSA-m32f-8vh9-2hh3
6.9
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
6.9 MEDIUM
AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N
Red Hat
6.9 MEDIUM
qualitative

Primary rating from NVD.

CVSS VectorNVD

CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
Low
Availability
None

Lifecycle Timeline

4
Analysis Generated
Apr 14, 2026 - 15:26 vuln.today
EUVD ID Assigned
Apr 14, 2026 - 15:22 euvd
EUVD-2026-22294
Analysis Generated
Apr 14, 2026 - 15:22 vuln.today
CVE Published
Apr 14, 2026 - 15:16 nvd
MEDIUM 6.9

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 43 maven packages depend on org.keycloak:keycloak-services (15 direct, 28 indirect)

Ecosystem-wide dependent count for version 26.5.5.

DescriptionCVE.org

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.

AnalysisAI

Stored XSS in Keycloak's organization selection login page allows authenticated administrators with manage-realm or manage-organizations privileges to inject malicious JavaScript via the organization.alias field, enabling arbitrary script execution in users' browsers when they access the login page. Exploitation requires high-privilege administrative access and user interaction (viewing the login page), with potential impact including session theft and unauthorized account actions. No public exploit code or active exploitation confirmed at time of analysis.

Technical ContextAI

Keycloak's organization selection login page implements a dynamic onclick handler that directly embeds the organization.alias value into inline JavaScript without proper sanitization or encoding. This violates output encoding requirements for JavaScript contexts and constitutes a Stored XSS vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation). The vulnerability exists in the authentication flow where realm organizations are rendered client-side; an attacker with administrative privileges can craft a malicious organization alias containing JavaScript code that persists in Keycloak's configuration. When any user navigates to the organization selection page, the stored payload executes in their browser context, inheriting their session privileges and authentication state.

RemediationAI

Apply the security patch provided by RedHat via the security advisory at https://access.redhat.com/security/cve/CVE-2026-37980. The primary fix involves sanitizing or encoding the organization.alias value before inserting it into the inline onclick handler-specifically, ensuring all JavaScript-context output is properly escaped or using a templating mechanism that prevents injection. As a temporary workaround pending patch deployment, audit and restrict manage-realm and manage-organizations role assignments to highly trusted administrators, and monitor organization alias modifications for suspicious patterns. Confirm patch application by verifying that organization.alias no longer executes injected JavaScript in the login page.

CVE-2024-8883 MEDIUM POC
6.1 Sep 19

A misconfiguration flaw was found in Keycloak. Rated medium severity (CVSS 6.1), this vulnerability is remotely exploita

CVE-2026-3047 HIGH
8.8 Mar 05

Keycloak's SAML identity provider broker fails to enforce client disabled status during IdP-initiated SSO flows, allowin

CVE-2026-9704 HIGH
8.8 May 27

Privilege escalation in Red Hat Build of Keycloak allows low-privileged authenticated users to assume the permissions of

CVE-2026-3009 HIGH
8.1 Mar 05

Keycloak's IdentityBrokerService.performLogin endpoint fails to enforce disabled Identity Provider restrictions, allowin

CVE-2024-1132 HIGH
8.1 Apr 17

A flaw was found in Keycloak, where it does not properly validate URLs included in a redirect. Rated high severity (CVSS

CVE-2024-7885 HIGH
7.5 Aug 21

A vulnerability was found in Undertow where the ProxyProtocolReadListener reuses the same StringBuilder instance across

CVE-2024-10234 HIGH
7.3 Oct 22

A vulnerability was found in Wildfly, where a user may perform Cross-site scripting in the Wildfly deployment system. Ra

CVE-2026-9802 MEDIUM
6.8 May 28

Refresh token replay in Keycloak allows a remote attacker who has previously captured a user's refresh token to reuse th

CVE-2025-7784 MEDIUM
6.5 Jul 18

Privilege escalation in Keycloak's Fine-Grained Admin Permissions v2 (FGAPv2) allows administrative users with the manag

CVE-2024-4629 MEDIUM
6.5 Sep 03

A vulnerability was found in Keycloak. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitable, no

CVE-2024-7260 MEDIUM
6.1 Sep 09

An open redirect vulnerability was found in Keycloak. Rated medium severity (CVSS 6.1), this vulnerability is remotely e

CVE-2025-3910 MEDIUM
5.4 Apr 29

A flaw was found in Keycloak. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable, no authentic

Vendor StatusVendor

Share

EUVD-2026-22294 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy