MODERATE 5.4

CVE-2022-0225

Keycloak XSS via use of malicious payload as group name when creating new group from admin console

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.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.keycloak » keycloak-core
< 20.0.0<= 16.1.0
20.0.0

Blast radius

1affected artifacts
226affected versions
1,281dependent artifacts (est.)
44,623dependent versions

66% of the dependent artifacts (858) still pull an affected version in their latest release.

DepthDependent versions
Direct
10,850
2 hops
15,046
3 hops
12,386
4 hops
3,340
5 hops
2,442
6 hops
559

Most used dependents

Computed from the dependency graph of build 20261125.2201 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

References

Advisorynvd.nist.gov
Packagegithub.com
Webgithub.com
Webbugzilla.redhat.com