WaratekVRT Sign in

CVE-2020-5529 HtmlUnit

Affected softwareHtmlUnit
Severity8.1 High CVSS 3.1 3 scores
Fixed in2.37.0
WeaknessCode injection (CWE-94)
Published11 Feb 2020
Updated17 Jun 2026

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.

CWE-665

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 6 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 4.7% chance in 30 days

Waratek protection

Outside Waratek scope

A Java vulnerability, but not one Waratek protects. It affects only Java on a user's desktop (applets, Web Start, JavaFX, the installer), sits in a product the Waratek agent can't be installed into, or is in a package we don't expect in business applications. The decision below says which.

  • Protection none
  • Action not pursued none
  • Review human Researcher
  • Record active
Decided by Manual classification of this CVE in the legacy dataset
Finding A manual classification set this CVE's status to Outside Waratek scope, but the CVE names a tracked product.

CVSS

8.1 HIGH v3.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H 3 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 8.1 HIGH CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H NVD Primary published
CVSS 3.1 8.1 HIGH CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CISA-ADP Secondary
CVSS 2.0 6.8 none AV:N/AC:M/Au:N/C:P/I:P/A:P NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
net.sourceforge.htmlunit:htmlunit 0 2.37.0 unbounded

Products and versions

5 products, 5 version entries
SourceVendorProductSchemeAffected versions
nvd apache camel generic any version
nvd canonical ubuntu linux generic 16.04
nvd debian debian linux generic 9.0
nvd htmlunit htmlunit generic < 2.37.0
osv net.sourceforge.htmlunit htmlunit generic < 2.37.0

References

URLTags
https://github.com/HtmlUnit/htmlunit/commit/bc1f58d483cc8854a9c4c1739abd5e04a2eb0367 WEB
https://github.com/HtmlUnit/htmlunit PACKAGE
https://github.com/HtmlUnit/htmlunit/releases/tag/2.37.0 WEB
https://jvn.jp/en/jp/JVN34535327 WEB
https://lists.apache.org/thread.html/ra2cd7f8e61dc6b8a2d9065094cd1f46aa63ad10f237ee363e26e8563%40%3Ccommits.camel.apache.org%3E WEB
https://lists.apache.org/thread.html/ra2cd7f8e61dc6b8a2d9065094cd1f46aa63ad10f237ee363e26e8563@%3Ccommits.camel.apache.org%3E WEB
https://lists.debian.org/debian-lts-announce/2020/08/msg00023.html WEB
https://usn.ubuntu.com/4584-1 WEB
https://jvn.jp/en/jp/JVN34535327/ Third Party Advisory
https://usn.ubuntu.com/4584-1/ Third Party Advisory

Timeline

Published2020-02-11By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.