Description
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.
Exploits (2)
nomisec
WORKING POC
by shoucheng3 · poc
https://github.com/shoucheng3/keycloak__keycloak_CVE-2022-4361_21-1-1
Scores
CVSS v3
10.0
EPSS
0.0129
EPSS Percentile
79.7%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Lab Environment
Details
CWE
CWE-81
CWE-79
Status
published
Products (10)
org.keycloak/keycloak-services
0 - 21.1.2Maven
redhat/keycloak
< 21.1.2
redhat/openshift_container_platform
4.11
redhat/openshift_container_platform
4.12
redhat/openshift_container_platform_for_ibm_linuxone
4.9
redhat/openshift_container_platform_for_ibm_linuxone
4.10
redhat/openshift_container_platform_for_power
4.9
redhat/openshift_container_platform_for_power
4.10
redhat/single_sign-on
redhat/single_sign-on
7.6 - 7.6.4
Published
Jul 07, 2023
Tracked Since
Feb 18, 2026