CVE-2022-0225Redhat Keycloak
Medium 5.4
Follow: this CVE · Redhat · Redhat Keycloak We alert you by email or Slack (account required).
- Priority
- 32
- CVSS 3.1
- 5.4
- EPSS
- 0.7% probability of exploitation in 30 days · percentile 50
- Auth required
- Yes
- Published
- Aug 26, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
What happens
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
- Apply the vendor's security update for Keycloak.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.keycloak:keycloak-core |
< 20.0.0 |
20.0.0 |
— |
| Maven | org.keycloak:keycloak-core |
≤ 16.1.0 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-755v-r4x4-qf7m, GHSA-fqc7-5xxc-ph7r). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| redhat | keycloak | all |
| redhat | single_sign-on | 7.0 |
Official sources
References
Links published by the sources. Open them with care.
- bugzilla.redhat.com Exploit Issue Tracking Vendor Advisory
- github.com Broken Link