# CVE-2022-0225: Stored Cross-Site Scripting (XSS) in Keycloak via groups dropdown

- Severity: Medium 5.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.07%, higher than 88% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-08-26T17:25:46.000Z
- Modified: 2026-07-16T03:59:27.865Z
- Also known as: GHSA-755v-r4x4-qf7m, GHSA-fqc7-5xxc-ph7r
- Weaknesses: CWE-79, CWE-80
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- keycloak: Not-Known
- org.keycloak:keycloak-core (Maven): before 20.0.0; up to 16.1.0
- redhat keycloak: no versions given
- redhat single_sign-on: 7.0

## Every score

- GitHub: rating Medium
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=2040268> (exploit, issue-tracking, vendor-advisory, web)
- <https://github.com/keycloak/keycloak/security/advisories/GHSA-755v-r4x4-qf7m> (broken-link, web)
- <https://github.com/keycloak/keycloak> (package)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-0225> (advisory)

## Sources

- CVE List: [CVE-2022-0225](https://www.cve.org/CVERecord?id=CVE-2022-0225), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-755v-r4x4-qf7m](https://github.com/advisories/GHSA-755v-r4x4-qf7m), CC-BY-4.0, modified 2026-07-16
- GitHub Advisory Database: [GHSA-fqc7-5xxc-ph7r](https://github.com/advisories/GHSA-fqc7-5xxc-ph7r), CC-BY-4.0, modified 2026-07-16
- NVD: [CVE-2022-0225](https://nvd.nist.gov/vuln/detail/CVE-2022-0225), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-0225 · Whole record: https://cve.day/CVE-2022-0225.json · Rebuilt by cve.day 2026-11-25T22:58:14.499Z
