CVE-2018-14655Redhat Keycloak
Medium 5.4
Follow: this CVE · Redhat · Redhat Keycloak We alert you by email or Slack (account required).
- Priority
- 33
- CVSS 3.0
- 5.4
- EPSS
- 1.2% probability of exploitation in 30 days · percentile 68
- Auth required
- Yes
- Published
- Nov 13, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Keycloak.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.keycloak:keycloak-parent |
≤ 3.4.3.Final |
no fixed version | — |
| Maven | org.keycloak:keycloak-parent |
≥ 4.0.0.Beta1 ≤ 4.0.0.Beta2 |
no fixed version | — |
| Maven | org.keycloak:keycloak-parent |
4.3.0.Final |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-458h-wv48-fq75). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| redhat | keycloak | 3.4.3 |
| redhat | keycloak | 4.0.0 |
| redhat | keycloak | 4.3.0 |
| redhat | single_sign-on | 7.2 |
| redhat | single_sign-on | all |
Official sources
References
Links published by the sources. Open them with care.
- access.redhat.com Vendor Advisory
- access.redhat.com Vendor Advisory
- access.redhat.com Vendor Advisory
- bugzilla.redhat.com Issue Tracking Vendor Advisory