CVE-2022-4361
mediumpriority · track · 34EPSS 0.007 · 53 %ileexploit · PoCDEEURUUSEPSS · scored 2026-10-26
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–critical · 5.8–10
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (2)
Public proof-of-concept and weaponised exploit code.
affected products (16)
Products and version ranges known to be affected.
- redhat openshift container platform= 4.11nvdUScpe:2.3:a:redhat:openshift_container_platform:*:*:*:*:*:*:*:*
- redhat openshift container platform= 4.12nvdUScpe:2.3:a:redhat:openshift_container_platform:*:*:*:*:*:*:*:*
- redhat openshift container platform for ibm linuxone= 4.10nvdUScpe:2.3:a:redhat:openshift_container_platform_for_ibm_linuxone:*:*:*:*:*:*:*:*
- redhat openshift container platform for ibm linuxone= 4.9nvdUScpe:2.3:a:redhat:openshift_container_platform_for_ibm_linuxone:*:*:*:*:*:*:*:*
- redhat openshift container platform for power= 4.10nvdUScpe:2.3:a:redhat:openshift_container_platform_for_power:*:*:*:*:*:*:*:*
- redhat openshift container platform for power= 4.9nvdUScpe:2.3:a:redhat:openshift_container_platform_for_power:*:*:*:*:*:*:*:*
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2023-1584Red Hat Single Sign On: Mehrere SchwachstellenDeutsch2023-06-27csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in Red Hat Single Sign On ausnutzen, um einen Cross-Site Scripting oder Denial of Service Angriff durchzuführen.
- GHSA-3p62-6fjh-3p5hKeycloak vulnerable to cross-site scripting when validating URI-schemes on SAML and OIDC2023-06-30ghsa · osvUS
AssertionConsumerServiceURL is a Java implementation for SAML Service Providers (org.keycloak.protocol.saml). Affected versions of this package are vulnerable to Cross-site Scripting (XSS). AssertionConsumerServiceURL allows XSS when sending a crafted SAML XML request.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (9)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2022-4361cnnvd
- https://bugzilla.redhat.com/show_bug.cgi?id=2151618cnnvd
- https://cxsecurity.com/cveshow/CVE-2022-4361/cnnvd
- https://github.com/keycloak/keycloak/commit/a1cfe6e24e5b34792699a00b8b4a8016a5929e3acnnvd
- https://www.auscert.org.au/bulletins/ESB-2023.3652cnnvd
- https://bugzilla.redhat.com/show_bug.cgi?id=2151618enisa_euvd
- https://github.com/keycloak/keycloak/commit/a1cfe6e24e5b34792699a00b8b4a8016a5929e3aenisa_euvd
- https://bugzilla.redhat.com/show_bug.cgi?id=2151618Issue TrackingVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan