CVE-2020-5529Htmlunit
High 8.1 No auth needed
Follow: this CVE · Htmlunit · Htmlunit We alert you by email or Slack (account required).
- 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
- 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.
What to do
- Apply the vendor's security update for Htmlunit.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| htmlunit | htmlunit | < 2.37.0 |
| debian | debian_linux | 9.0 |
| canonical | ubuntu_linux | 16.04 |
| apache | camel | all |
Official sources
References
Links published by the sources. Open them with care.
- github.com Release Notes Third Party Advisory
- jvn.jp Third Party Advisory
- lists.apache.org
- lists.debian.org Mailing List Third Party Advisory
- usn.ubuntu.com Third Party Advisory