{"cve":"CVE-2022-4361","nvd":{"published":"2023-07-07T20:15:09.813","modified":"2026-06-17T05:20:41.540","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79","CWE-81"],"references":["https://bugzilla.redhat.com/show_bug.cgi?id=2151618","https://github.com/keycloak/keycloak/commit/a1cfe6e24e5b34792699a00b8b4a8016a5929e3a","https://bugzilla.redhat.com/show_bug.cgi?id=2151618","https://github.com/keycloak/keycloak/commit/a1cfe6e24e5b34792699a00b8b4a8016a5929e3a"],"products":["redhat:keycloak","redhat:openshift_container_platform","redhat:openshift_container_platform_for_ibm_linuxone","redhat:openshift_container_platform_for_power","redhat:single_sign-on"],"source":"nvd","synced_at":"2026-10-19T21:38:30.124994567+00:00"},"epss":{"cve":"CVE-2022-4361","score":0.00691,"percentile":0.52858,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-3p62-6fjh-3p5h","url":"https://osv.dev/vulnerability/GHSA-3p62-6fjh-3p5h","summary":"Keycloak vulnerable to cross-site scripting when validating URI-schemes on SAML and OIDC","modified":"2024-02-16T08:13:06.169722Z","packages":[{"ecosystem":"Maven","name":"org.keycloak:keycloak-services","purl":"pkg:maven/org.keycloak/keycloak-services","ranges":["<21.1.2"],"fixed":["21.1.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}