Live threats

All CVEs / Htmlunit

CVE-2020-5529Htmlunit

High 8.1 No auth needed

Priority
64
CVSS 3.1
8.1
EPSS
4.7%
probability of exploitation in 30 days · percentile 93
Auth required
No
Published
Feb 11, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-665, CWE-94
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Htmlunit.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven net.sourceforge.htmlunit:htmlunit < 2.37.0 2.37.0 —

Per OSV / GitHub Advisories (GHSA-5mh9-r3rr-9597). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
htmlunithtmlunit< 2.37.0
debiandebian_linux9.0
canonicalubuntu_linux16.04
apachecamelall

Official sources

References

Links published by the sources. Open them with care.