GitHub Advisoryadvisory · Maven

GHSA-5mh9-r3rr-9597 Code execution vulnerability in HtmlUnit

HIGH Published 2020-05-21 Modified 2024-10-15 Official page ↗
Aliases
CVE-2020-5529
Ecosystem
Maven
Packages
net.sourceforge.htmlunit:htmlunit
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-665, CWE-94
Reviewed
2020-05-21

Affected packages

• Maven net.sourceforge.htmlunit:htmlunit: < 2.37.0 → fixed in 2.37.0

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.

Related

Alias · CVE (1)

  • CVE-2020-5529 HtmlUnit prior to 2.37.0 contains code execution vulnerabilities. vulnerability

Weakness · CWE (2)

  • CWE-665 Improper Initialization weakness
  • CWE-94 Improper Control of Generation of Code weakness

References