What’s Vulnerable › Vulnerabilities
CVE-2020-5529
- Severity: high (CVSS 8.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 4.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2020-02-11 · updated 2026-06-17
- Weakness: CWE-665
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.
Affected products
- Apache Software Foundation Apache Camel: all versions
- Canonical Ubuntu Linux: 16.04
- Debian Linux: 9.0
- net.sourceforge.htmlunit:htmlunit: before 2.37.0 — fixed in 2.37.0
How to fix
Upgrade to a fixed version: net.sourceforge.htmlunit:htmlunit 2.37.0. Check the vendor advisory for mitigations.
References
- https://github.com/HtmlUnit/htmlunit/releases/tag/2.37.0
- https://jvn.jp/en/jp/JVN34535327/
- https://lists.apache.org/thread.html/ra2cd7f8e61dc6b8a2d9065094cd1f46aa63ad10f237ee363e26e8563%40%3Ccommits.camel.apache.org%3E
- https://lists.debian.org/debian-lts-announce/2020/08/msg00023.html
- https://usn.ubuntu.com/4584-1/
- https://github.com/HtmlUnit/htmlunit/releases/tag/2.37.0
- https://jvn.jp/en/jp/JVN34535327/
- https://lists.apache.org/thread.html/ra2cd7f8e61dc6b8a2d9065094cd1f46aa63ad10f237ee363e26e8563%40%3Ccommits.camel.apache.org%3E
- https://lists.debian.org/debian-lts-announce/2020/08/msg00023.html
- https://usn.ubuntu.com/4584-1/
Get alerted when CVE-2020-5529 or the next vulnerability affects your stack