{"cve":"CVE-2022-0225","nvd":{"published":"2022-08-26T18:15:08.893","modified":"2026-06-17T04:20:11.190","status":"Modified","description":"A flaw was found in Keycloak. This flaw allows a privileged attacker to use the malicious payload as the group name while creating a new group from the admin console, leading to a stored Cross-site scripting (XSS) attack.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4},"cwes":["CWE-79"],"references":["https://bugzilla.redhat.com/show_bug.cgi?id=2040268","https://github.com/keycloak/keycloak/security/advisories/GHSA-755v-r4x4-qf7m","https://bugzilla.redhat.com/show_bug.cgi?id=2040268","https://github.com/keycloak/keycloak/security/advisories/GHSA-755v-r4x4-qf7m"],"products":["redhat:keycloak","redhat:single_sign-on"],"source":"nvd","synced_at":"2026-10-19T21:35:14.992143698+00:00"},"epss":{"cve":"CVE-2022-0225","score":0.032,"percentile":0.88132,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-755v-r4x4-qf7m","url":"https://osv.dev/vulnerability/GHSA-755v-r4x4-qf7m","summary":"Stored Cross-Site Scripting (XSS) in Keycloak via groups dropdown","modified":"2026-07-16T03:59:27.865096611Z","packages":[{"ecosystem":"Maven","name":"org.keycloak:keycloak-core","purl":"pkg:maven/org.keycloak/keycloak-core","ranges":["<20.0.0"],"fixed":["20.0.0"]}]},{"id":"GHSA-fqc7-5xxc-ph7r","url":"https://osv.dev/vulnerability/GHSA-fqc7-5xxc-ph7r","summary":"Keycloak XSS via use of malicious payload as group name when creating new group from admin console","modified":"2026-07-16T03:56:21.282732061Z","packages":[{"ecosystem":"Maven","name":"org.keycloak:keycloak-core","purl":"pkg:maven/org.keycloak/keycloak-core","ranges":["<=16.1.0"],"fixed":[]}]}],"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."]}