Cross-site scripting in keycloak
Priority LOW 19CWE-79Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-79.
Summary
A Stored Cross-site scripting (XSS) vulnerability was found in keycloak as shipped in Red Hat Single Sign-On 7. This flaw allows a privileged attacker to execute malicious scripts in the admin console, abusing the default roles functionality.
Why it matters now
EPSS 0.00696 53rd percentileScored 2026-11-07
Fix Fixed org.keycloak:keycloak-parent (Maven): 19.0.2Red Hat: 3 advisories
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 |
|---|---|---|---|---|---|
| — | keycloak | keycloak as shipped in Red Hat Single Sign-On 7 | — | No fix listed | CNA |
| — | org.keycloak:keycloak-parent (Maven) | before 19.0.2 | 19.0.2 | Patch available | GHSA-w9mf-83w3-fv49 |
- keycloak Vendor— Affected keycloak as shipped in Red Hat Single Sign-On 7 Fixed in — No fix listed CNA
- org.keycloak:keycloak-parent (Maven) Vendor— Affected before 19.0.2 Fixed in 19.0.2 Patch available GHSA-w9mf-83w3-fv49
Remediation
- Fix · GHSA-w9mf-83w3-fv49 org.keycloak:keycloak-parent (Maven) Fixed in 19.0.2 Advisory →
Red Hat 3 advisories
- RHSA-2022:6782 Released 2022-10-04 · Red Hat rating ModerateRed Hat Single Sign-On 7.5.3 security update on RHEL 7
- Red Hat Single Sign-On 7.5 for RHEL 7 Server rh-sso7-keycloak-15.0.8-1.redhat_00001.1.el7sso, rh-sso7-keycloak-server-15.0.8-1.redhat_00001.1.el7sso
- RHSA-2022:6787 Released 2022-10-04 · Red Hat rating ModerateRed Hat Single Sign-On 7.5.3 security update
- Red Hat Single Sign-On 7
- RHSA-2022:6783 Released 2022-10-04 · Red Hat rating ModerateRed Hat Single Sign-On 7.5.3 security update on RHEL 8
- Red Hat Single Sign-On 7.5 for RHEL 8 rh-sso7-keycloak-15.0.8-1.redhat_00001.1.el8sso, rh-sso7-keycloak-server-15.0.8-1.redhat_00001.1.el8sso
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Single Sign-On 7 | Fixed | RHSA-2022:6787 |
| Red Hat Single Sign-On 7.5 for RHEL 7 Server | Fixed | RHSA-2022:6782 |
| Red Hat Single Sign-On 7.5 for RHEL 8 | Fixed | RHSA-2022:6783 |
Timeline
- 2026-10-02 Threatist record created from CVE-2022-2256
- 2026-10-03 Alias added: GHSA-w9mf-83w3-fv49
References
Advisory 3
More Red Hat Single Sign-on vulnerabilities
- TI-2023-23979 The HTTP/2 protocol allows a denial of service (server resource consumption) because… KEVCVSS 3.1HIGH 7.5
- TI-2025-11507 Undertow-core: undertow http server fails to reject malformed host headers leading to potential cache poisoning and ssrf CVSS 3.1CRITICAL 9.6
- TI-2019-06950 Some HTTP/2 implementations are vulnerable to a settings flood, potentially leading to a… CVSS 3.1HIGH 7.5
- TI-2019-06949 Some HTTP/2 implementations are vulnerable to a reset flood, potentially leading to a… CVSS 3.1HIGH 7.5
- TI-2021-02983 Deserialization of untrusted data in JMSAppender in Apache Log4j 1.2 CVSS 3.1HIGH 7.5
- TI-2024-01049 Keycloak: path transversal in redirection validation CVSS 3.1HIGH 8.1
Sources
- CVE-2022-2256 · CVE Program
- CVE-2022-2256 · NVD
- FIRST EPSS
- GHSA-w9mf-83w3-fv49 · GitHub Advisory Database · CC BY 4.0
- CVE-2022-2256 · 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