All reports
Medium

Keycloak vulnerable to cross-site scripting via the state parameter

Affected versions

Affected versions
= 4.3.0.Final
Fixed version
Not reported
Affected versions
<= 3.4.3.Final
Fixed version
Not reported
Affected versions
>= 4.0.0.Beta1, <= 4.0.0.Beta2
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2018-14655

Probability of exploitation in the next 30 days: 1.19%

FIRST EPSS · 2026-11-19

Description

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.

Links