Cross-site scripting in Red Hat keycloak
Priority LOW 27CWE-79Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Partial Red Hat: 3 fixed, 2 without a fix
Attack profile from CVSS 3.0 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-79.
Summary
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.
Why it matters now
EPSS 0.01194 68th percentileScored 2026-11-07
Fix Partial Red Hat: 3 advisoriesRed Hat: 3 fixed, 2 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Red Hat | keycloak | 3.4.3.Final, 4.0.0.Beta2, 4.3.0.Final | — | No fix listed | CNA |
| — | org.keycloak:keycloak-parent (Maven) | up to 3.4.3.Final | — | No fix listed | GHSA-458h-wv48-fq75 |
| — | org.keycloak:keycloak-parent (Maven) | 4.0.0.Beta1 – 4.0.0.Beta2 | — | No fix listed | GHSA-458h-wv48-fq75 |
| — | org.keycloak:keycloak-parent (Maven) | — | — | No fix listed | GHSA-458h-wv48-fq75 |
- keycloak VendorRed Hat Affected 3.4.3.Final, 4.0.0.Beta2, 4.3.0.Final Fixed in — No fix listed CNA
- org.keycloak:keycloak-parent (Maven) Vendor— Affected up to 3.4.3.Final Fixed in — No fix listed GHSA-458h-wv48-fq75
- org.keycloak:keycloak-parent (Maven) Vendor— Affected 4.0.0.Beta1 – 4.0.0.Beta2 Fixed in — No fix listed GHSA-458h-wv48-fq75
- org.keycloak:keycloak-parent (Maven) Vendor— Affected — Fixed in — No fix listed GHSA-458h-wv48-fq75
CPE configurations NVD · 7
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:redhat:keycloak:3.4.3:*:*:*:*:*:*:* | 3.4.3 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:keycloak:4.0.0:beta2:*:*:*:*:*:* | 4.0.0 beta2 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:keycloak:4.3.0:*:*:*:*:*:*:* | 4.3.0 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:single_sign-on:7.2:*:*:*:*:*:*:* | 7.2 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:linux:7.0:*:*:*:*:*:*:* | 7.0 | Running on | Red Hat |
| cpe:2.3:o:redhat:linux:6.0:*:*:*:*:*:*:* | 6.0 | Running on | Red Hat |
| cpe:2.3:a:redhat:single_sign-on:-:*:*:*:text-only:*:*:* | not specified by NVD | Vulnerable | Red Hat |
- cpe:2.3:a:redhat:keycloak:3.4.3:*:*:*:*:*:*:* Versions 3.4.3 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:keycloak:4.0.0:beta2:*:*:*:*:*:* Versions 4.0.0 beta2 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:keycloak:4.3.0:*:*:*:*:*:*:* Versions 4.3.0 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:single_sign-on:7.2:*:*:*:*:*:*:* Versions 7.2 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:linux:7.0:*:*:*:*:*:*:* Versions 7.0 Running on ·Red Hat
- cpe:2.3:o:redhat:linux:6.0:*:*:*:*:*:*:* Versions 6.0 Running on ·Red Hat
- cpe:2.3:a:redhat:single_sign-on:-:*:*:*:text-only:*:*:* Versions not specified by NVD Vulnerable ·Red Hat
Remediation
Red Hat 3 advisories
- RHSA-2018:3595 Released 2018-11-13 · Red Hat rating ModerateRed Hat Single Sign-On 7.2.5 security and bug fix update
- Red Hat Single Sign-On 7.2.5 zip
- RHSA-2018:3593 Released 2018-11-13 · Red Hat rating ModerateRed Hat Single Sign-On 7.2.5 on RHEL 7 security and bug fix update
- Red Hat Single Sign-On 7.2 for RHEL 7 Server rh-sso7-keycloak-3.4.14-1.Final_redhat_00001.1.jbcs.el7, rh-sso7-keycloak-server-3.4.14-1.Final_redhat_00001.1.jbcs.el7
- RHSA-2018:3592 Released 2018-11-13 · Red Hat rating ModerateRed Hat Single Sign-On 7.2.5 on RHEL 6 security and bug fix update
- Red Hat Single Sign-On 7.2 for RHEL 6 Server rh-sso7-keycloak-3.4.14-1.Final_redhat_00001.1.jbcs.el6, rh-sso7-keycloak-server-3.4.14-1.Final_redhat_00001.1.jbcs.el6
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Fuse 7 | Affected | No fix planned: Will not fix |
| Red Hat Mobile Application Platform 4 | Affected | No fix planned: Out of support scope |
| Red Hat Single Sign-On 7.2 for RHEL 6 Server | Fixed | RHSA-2018:3592 |
| Red Hat Single Sign-On 7.2 for RHEL 7 Server | Fixed | RHSA-2018:3593 |
| Red Hat Single Sign-On 7.2.5 zip | Fixed | RHSA-2018:3595 |
Timeline
- 2026-10-02 Threatist record created from CVE-2018-14655
- 2026-10-03 Alias added: GHSA-458h-wv48-fq75
References
More Red Hat Keycloak vulnerabilities
- TI-2024-01049 Keycloak: path transversal in redirection validation CVSS 3.1HIGH 8.1
- TI-2023-26623 The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6… CVSS 3.1MEDIUM 5.9
- TI-2020-08665 Server-side request forgery in keycloak CVSS 3.1MEDIUM 5.3
- TI-2022-03468 Path traversal in Red Hat Keycloak CVSS 3.1CRITICAL 9.1
- TI-2021-03612 A POST based reflected Cross Site Scripting vulnerability on has been identified in Keycloak. CVSS 3.1MEDIUM 6.1
- TI-2022-03994 Cross-site scripting in keycloak CVSS 3.1CRITICAL 10.0
Sources
- CVE-2018-14655 · CVE Program
- CVE-2018-14655 · NVD
- FIRST EPSS
- GHSA-458h-wv48-fq75 · GitHub Advisory Database · CC BY 4.0
- CVE-2018-14655 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences