LOW 3.8

CVE-2024-4028

Keycloak allows cross-site scripting (XSS)

Description

A vulnerability was found in Keycloak. This issue may allow a privileged attacker to use a malicious payload as the permission while creating items (Resource and Permissions) from the admin console, leading to a stored cross-site scripting (XSS) attack.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.keycloak » keycloak-core
<= 26.1.2
-

Blast radius

1affected artifacts
318affected versions
1,637dependent artifacts (est.)
57,087dependent versions

71% of the dependent artifacts (1,164) still pull an affected version in their latest release.

DepthDependent versions
Direct
14,429
2 hops
19,608
3 hops
15,208
4 hops
4,345
5 hops
2,703
6 hops
794

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
Webaccess.redhat.com
Webbugzilla.redhat.com