CRITICAL 9.6

CVE-2021-20195

keycloak Self Stored Cross-site Scripting vulnerability

Description

A flaw was found in keycloak in versions before 13.0.0. A Self Stored XSS attack vector escalating to a complete account takeover is possible due to user-supplied data fields not being properly encoded and Javascript code being used to process the data. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.keycloak » keycloak-core
< 13.0.0
13.0.0

Blast radius

1affected artifacts
181affected versions
903dependent artifacts (est.)
25,247dependent versions

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

DepthDependent versions
Direct
7,796
2 hops
8,627
3 hops
5,812
4 hops
1,321
5 hops
1,434
6 hops
257

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