Loading advisory.
Loading advisory.
Keycloak vulnerable to cross-site scripting via the state parameter
A flaw was found in Keycloak 3.4.3.Final, 4.0.0.Beta2, 4.3.0.Final. When using response_mode=form_post it is possible to inject arbitrary Javascript-Code via the 'state'-parameter in the authentication URL. This allows an XSS-Attack upon succesfully login.
Published 2018-11-13 19:00 UTC · Modified 2024-08-05 09:38 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-parent | Maven | <= 3.4.3.Final >= 4.0.0.Beta1, <= 4.0.0.Beta2 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 66 more | No patch yet | No command until a fix exists. |
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
One EPSS score on record: 0.012 on 2026-11-24.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.012 | first score | v2026.06.15 |