{"id":"CVE-2022-0225","details":"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.","aliases":["GHSA-755v-r4x4-qf7m","GHSA-fqc7-5xxc-ph7r"],"modified":"2026-08-12T03:30:38.240464806Z","published":"2022-08-26T17:25:46Z","database_specific":{"cna_assigner":"redhat","cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0225.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0225.json"},{"type":"ADVISORY","url":"https://github.com/keycloak/keycloak/security/advisories/GHSA-755v-r4x4-qf7m"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0225"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2040268"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/keycloak/keycloak","events":[{"introduced":"e6a274ea0e31c6572e795f3372f006c88122539b"},{"last_affected":"e6a274ea0e31c6572e795f3372f006c88122539b"}],"database_specific":{"extracted_events":[{"introduced":"7.0"},{"last_affected":"7.0"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:redhat:single_sign-on:7.0:*:*:*:*:*:*:*"}}],"versions":["7.0","7.0.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-0225.json"}}],"schema_version":"1.9.0"}