keycloak/keycloak · Security
Keycloak vulnerable to cross-site scripting via the state parameter
- GHSA ID
- GHSA-458h-wv48-fq75
- CVE ID
- CVE-2018-14655
- Severity
- medium
- Published
- Updated
- CVSS
- 5.4 · CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- CVSS v3
- 5.4 · CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
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.
CWEs
- CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-14655 ↗
- https://access.redhat.com/errata/RHSA-2018:3592 ↗
- https://access.redhat.com/errata/RHSA-2018:3593 ↗
- https://access.redhat.com/errata/RHSA-2018:3595 ↗
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-14655 ↗
- https://github.com/advisories/GHSA-458h-wv48-fq75 ↗