CVE-2020-5529
HIGH 8.1CVSS 3.1Code execution vulnerability in HtmlUnit
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.
- Published
- 11 Feb 2020
- Last modified
- 17 Jun 2026
- Assigned by
- vultures@jpcert.or.jp
- NVD status
- Modified
- Weakness
- CWE-665CWE-94
- Also known as
- GHSA-5mh9-r3rr-9597
- Sources
- NVDJSONOSV GHSA-5mh9-r3rr-9597JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | htmlunit | htmlunitcpe:2.3:a:htmlunit:htmlunit:*:*:*:*:*:*:*:* |
< 2.37.0 | 2.37.0 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:* |
= 16.04 | |
| NVD | apache | camelcpe:2.3:a:apache:camel:-:*:*:*:*:*:*:* |
(no version) | |
| OSV | Maven | net.sourceforge.htmlunit:htmlunit | < 2.37.0 | 2.37.0 |
References
- https://github.com/HtmlUnit/htmlunit/releases/tag/2.37.0 · Release Notes, Third Party Advisory, WEB
- https://jvn.jp/en/jp/JVN34535327/ · Third Party Advisory, WEB
- https://lists.apache.org/thread.html/ra2cd7f8e61dc6b8a2d9065094cd1f46aa63ad10f237ee363e26e8563%40%3Ccommits.camel.apache.org%3E · WEB
- https://lists.debian.org/debian-lts-announce/2020/08/msg00023.html · Mailing List, Third Party Advisory, WEB
- https://usn.ubuntu.com/4584-1/ · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-5529 · ADVISORY
- https://github.com/HtmlUnit/htmlunit/commit/bc1f58d483cc8854a9c4c1739abd5e04a2eb0367 · WEB
- https://github.com/HtmlUnit/htmlunit · PACKAGE
- https://lists.apache.org/thread.html/ra2cd7f8e61dc6b8a2d9065094cd1f46aa63ad10f237ee363e26e8563@%3Ccommits.camel.apache.org%3E · WEB
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 11 Feb 2020)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 21 May 2020)