{"id":"CVE-2022-0225","aliases":["CVE-2022-0225","GHSA-755v-r4x4-qf7m","GHSA-fqc7-5xxc-ph7r"],"related":[],"kind":"vulnerability","state":"published","title":"Stored Cross-Site Scripting (XSS) in Keycloak via groups dropdown","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nA Stored XSS vulnerability was reported in the Keycloak Security mailing list, affecting all the versions of Keycloak, including the latest release (16.0.1). The vulnerability allows a privileged attacker to execute malicious scripts in the admin console, abusing of the groups' dropdown functionality. \n\n### Impact\n\nSuccessful attacks of this vulnerability can result a privileged attacker to load a XSS script, and steal data from other users. The impact can be considered moderate to low, considering privileged credentials are required.\n\n### References\n- Please refer to the Keycloak Security mailing list for more information.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se ha encontrado un fallo en Keycloak. Este fallo permite a un atacante privilegiado usar la carga útil maliciosa como nombre del grupo mientras es creado un nuevo grupo desde la consola de administración, conllevando a un ataque de tipo Cross-site scripting (XSS) almacenado.","source":"nvd"}],"published":"2022-08-26T17:25:46.000Z","modified":"2026-07-16T03:59:27.865Z","severity":{"scorer":"NVD","scheme":"CVSS: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,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS: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,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS: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,"rating":"MEDIUM"}],"cwes":["CWE-79","CWE-80"],"affected":[{"ranges":[{"version":"Not-Known","status":"affected"}],"product":"keycloak","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"20.0.0"}],"ecosystem":"Maven","package":"org.keycloak:keycloak-core","purl":"pkg:maven/org.keycloak/keycloak-core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"16.1.0"}],"ecosystem":"Maven","package":"org.keycloak:keycloak-core","purl":"pkg:maven/org.keycloak/keycloak-core","source":"ghsa"},{"ranges":[],"vendor":"redhat","product":"keycloak","cpe":"cpe:2.3:a:redhat:keycloak:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"7.0"}],"vendor":"redhat","product":"single_sign-on","cpe":"cpe:2.3:a:redhat:single_sign-on:7.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2040268","tags":["exploit","issue-tracking","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/keycloak/keycloak/security/advisories/GHSA-755v-r4x4-qf7m","tags":["broken-link","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/keycloak/keycloak","tags":["package"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0225","tags":["advisory"],"sources":["ghsa"]}],"credits":[],"assigner":"redhat","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-0225","url":"https://www.cve.org/CVERecord?id=CVE-2022-0225","licence":"CVE Terms of Use","modified":"2024-08-02T23:18:42.951Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-755v-r4x4-qf7m","url":"https://github.com/advisories/GHSA-755v-r4x4-qf7m","licence":"CC-BY-4.0","modified":"2026-07-16T03:59:27.865Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-fqc7-5xxc-ph7r","url":"https://github.com/advisories/GHSA-fqc7-5xxc-ph7r","licence":"CC-BY-4.0","modified":"2026-07-16T03:56:21.282Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-0225","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0225","licence":"Public domain","modified":"2026-06-17T04:20:11.190Z"}],"updatedAt":"2026-11-25T22:58:14.499Z","epss":{"score":0.03072,"percentile":0.88003,"date":"2026-12-01T12:00:22.000Z"}}