XSS in Keycloak
CVE-2022-4361
Keycloak, an open-source identity and access management solution, has a cross-site scripting (XSS) vulnerability in the SAML or OIDC providers. The vulnerability can allow an attacker to execute malicious scripts by setting the AssertionConsumerServiceURL value or the redirect_uri.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 10.0 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.007 (51.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 52nd percentile — 51.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.006 · newest: 0.007 · change: +0.001
Affected products
- Keycloak — versions 21.1.2
- Red Hat Enterprise Linux — versions 7.0, 8.0, 9.0
- Red Hat Keycloak
- Red Hat Openshift Container Platform — versions 4.11, 4.12
- Red Hat Openshift Container Platform For IBM Linuxone — versions 4.9, 4.10
- Red Hat Openshift Container Platform For Power — versions 4.9, 4.10
- Red Hat Single Sign-On
Weakness classification (CWE)
Public proof-of-concept exploits
References
- bugzilla.redhat.com/show_bug.cgi (Issue Tracking, Vendor Advisory)
- github.com/keycloak/keycloak/commit/a1cfe6e24e5b34792699a00b8b4a8016a5929e3a (Patch)
Frequently asked questions
- What is CVE-2022-4361?
- CVE-2022-4361 is a critical-severity vulnerability in Keycloak, classified under CWE-81. CVSS score: 10.0/10. Published 2023-07-07.
- How severe is CVE-2022-4361?
- Critical severity. CVSS v3 base score is 10.0 out of 10.
- Is CVE-2022-4361 known to be exploited?
- 5 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.