Live threats

All CVEs / Redhat

CVE-2022-0225Redhat Keycloak

Medium 5.4

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Keycloak.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
redhatkeycloakall
redhatsingle_sign-on7.0

Official sources

References

Links published by the sources. Open them with care.