MODERATE 5.4

CVE-2018-14655

Keycloak vulnerable to cross-site scripting via the state parameter

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.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.keycloak » keycloak-parent
<= 3.4.3.Final>= 4.0.0.Beta1, <= 4.0.0.Beta2
-

Blast radius

1affected artifacts
96affected versions
0dependent artifacts (est.)
0dependent versions

Computed from the dependency graph of build 20261126.1706 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

References

Advisorynvd.nist.gov
Packagegithub.com
Webaccess.redhat.com
Webaccess.redhat.com
Webaccess.redhat.com
Webbugzilla.redhat.com