CRITICAL 9.8

CVE-2021-42575

Policies not properly enforced in OWASP Java HTML Sanitizer

Description

The OWASP Java HTML Sanitizer before 20211018.1 does not properly enforce policies associated with the SELECT, STYLE, and OPTION elements.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
com.googlecode.owasp-java-html-sanitizer » owasp-java-html-sanitizer
< 20211018.1
20211018.1

Blast radius

1affected artifacts
31affected versions
1,416dependent artifacts (est.)
44,065dependent versions

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

DepthDependent versions
Direct
3,218
2 hops
9,077
3 hops
15,116
4 hops
10,581
5 hops
4,576
6 hops
1,497

Most used dependents

Computed from the dependency graph of build 20261129.0021 (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.