Loading advisory.
Loading advisory.
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.
Published 2026-04-14 14:54 UTC · Modified 2026-10-22 21:45 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score.
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| org.keycloak:keycloak-services | Maven | <= 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 and 202 more | No patch yet | No command until a fix exists. |
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.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.004 on 2026-11-24 to 0.005 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.004 | first score | v2026.06.15 |
| 2026-11-26 | 0.005 | 0.004 | v2026.06.15 |