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.
Advisories
Source ID Title
EUVD EUVD EUVD-2022-2302 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.
Github GHSA Github GHSA GHSA-458h-wv48-fq75 Keycloak vulnerable to cross-site scripting via the state parameter
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2024-08-05T09:38:13.384Z

Reserved: 2018-07-27T00:00:00

Link: CVE-2018-14655

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2018-11-13T19:29:00.307

Modified: 2024-11-21T03:49:31.257

Link: CVE-2018-14655

cve-icon Redhat

Severity : Moderate

Publid Date: 2018-11-13T17:37:00Z

Links: CVE-2018-14655 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses