CVE-2018-14655
MEDIUM5.4EPSS 0.22%Keycloak vulnerable to cross-site scripting via the state parameter
Published: 5/13/2022Modified: 2/16/2024
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 packages (1)
- Maven/org.keycloak:keycloak-parentfrom 0, <= 3.4.3.Final
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.4 | CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
References (6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2018-14655
- PATCHhttps://github.com/keycloak/keycloak
- WEBhttps://access.redhat.com/errata/RHSA-2018:3592
- WEBhttps://access.redhat.com/errata/RHSA-2018:3593
- WEBhttps://access.redhat.com/errata/RHSA-2018:3595
- WEBhttps://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-14655