HIGH 8.1

CVE-2020-5529

Code execution vulnerability in HtmlUnit

Description

HtmlUnit prior to 2.37.0 contains code execution vulnerabilities. HtmlUnit initializes Rhino engine improperly, hence a malicious JavScript code can execute arbitrary Java code on the application. Moreover, when embedded in Android application, Android-specific initialization of Rhino engine is done in an improper way, hence a malicious JavaScript code can execute arbitrary Java code on the application.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
net.sourceforge.htmlunit » htmlunit
< 2.37.0
2.37.0

Blast radius

1affected artifacts
69affected versions
3,727dependent artifacts (est.)
326,553dependent versions

62% of the dependent artifacts (2,336) still pull an affected version in their latest release.

DepthDependent versions
Direct
13,024
2 hops
67,352
3 hops
131,192
4 hops
56,945
5 hops
41,369
6 hops
16,671

Most used dependents

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