{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-0225","id":"CVE-2022-0225","title":"Stored Cross-Site Scripting (XSS) in Keycloak via groups dropdown","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.","descriptionLong":"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.","published":"2022-08-26T17:25:46.000Z","updated":"2026-10-28T02:31:01.195975017Z","reserved":"2022-01-13T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["keycloak"],"affectedProducts":[{"vendor":"n/a","product":"keycloak","defaultStatus":null,"versions":[{"status":"affected","version":"Not-Known"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.keycloak:keycloak-core","purl":"pkg:maven/org.keycloak/keycloak-core","ranges":["<20.0.0","<=16.1.0"],"fixed":["20.0.0"],"advisory":"GHSA-755v-r4x4-qf7m"}],"cwes":["CWE-79","CWE-80"],"aliases":["GHSA-755v-r4x4-qf7m","GHSA-fqc7-5xxc-ph7r"],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2040268","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Vendor Advisory","report","web"]},{"url":"https://github.com/keycloak/keycloak/security/advisories/GHSA-755v-r4x4-qf7m","tags":["x_refsource_MISC","x_transferred","Broken Link","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0225.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0225","tags":["advisory"]},{"url":"https://github.com/keycloak/keycloak","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.03072,"epssPercentile":0.8793,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-0225","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0225","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-0225","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-755v-r4x4-qf7m","ok":true,"note":"GHSA-755v-r4x4-qf7m"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-fqc7-5xxc-ph7r","ok":true,"note":"GHSA-fqc7-5xxc-ph7r"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-0225","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}