# CVE-2020-5529: Code execution vulnerability in HtmlUnit

- Severity: High 8.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 4.72%, higher than 92% of CVEs (2026-12-01)
- Published: 2020-02-11T08:35:12.000Z
- Modified: 2026-06-17T03:21:32.883Z
- Also known as: GHSA-5mh9-r3rr-9597
- Weaknesses: CWE-94, CWE-665
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: jpcert

## 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.

(As written by CVE List.)

## Affected

- HtmlUnit Project HtmlUnit: prior to 2.37.0
- net.sourceforge.htmlunit:htmlunit (Maven): before 2.37.0
- htmlunit htmlunit: before 2.37.0
- debian debian_linux: 9.0
- canonical ubuntu_linux: 16.04
- apache camel: no versions given

## Every score

- CISA-ADP: 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`
- GitHub: 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: 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: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## 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)
- <https://lists.apache.org/thread.html/ra2cd7f8e61dc6b8a2d9065094cd1f46aa63ad10f237ee363e26e8563%40%3Ccommits.camel.apache.org%3E> (mailing-list, 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, vendor-advisory)
- <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://jvn.jp/en/jp/JVN34535327> (web)
- <https://lists.apache.org/thread.html/ra2cd7f8e61dc6b8a2d9065094cd1f46aa63ad10f237ee363e26e8563@%3Ccommits.camel.apache.org%3E> (web)
- <https://usn.ubuntu.com/4584-1> (web)

## Sources

- CVE List: [CVE-2020-5529](https://www.cve.org/CVERecord?id=CVE-2020-5529), CVE Terms of Use, modified 2024-10-15
- GitHub Advisory Database: [GHSA-5mh9-r3rr-9597](https://github.com/advisories/GHSA-5mh9-r3rr-9597), CC-BY-4.0, modified 2024-10-15
- NVD: [CVE-2020-5529](https://nvd.nist.gov/vuln/detail/CVE-2020-5529), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-5529 · Whole record: https://cve.day/CVE-2020-5529.json · Rebuilt by cve.day 2026-11-25T22:57:50.782Z
