CVE-2020-5529: HtmlUnit - Stored XSS
- Cve: CVE-2020-5529
- Name: HtmlUnit - Stored XSS
- 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.
- Impact: Attackers can execute arbitrary Java code, potentially leading to remote code execution and full system compromise.
- Remediation: Update HtmlUnit to version 2.37.0 or later.
- Vulnerability type: stored_xss
- Vulnerability impact: remote_code_execution
- Requirement type: user_interaction
- Requirements: Attacker needs to deliver malicious JavaScript code
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.1
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.04719
- Epss percentile: 0.92055
- Assignee: [email protected]
- Published at: 2020-02-11T12:15:21Z
- Age in days: 2478
- Modified at: 2026-06-17T03:21:32Z
- Patch available: yes
- References total: 5
- Products total: 4
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-5529
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-665 | Improper Initialization |
| CWE-94 | Improper Control of Generation of Code |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/HtmlUnit/htmlunit/releases/tag/2.37.0 | Release Notes, Third Party Advisory |
| https://jvn.jp/en/jp/JVN34535327/ | Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2020/08/msg00023.html | Mailing List, Third Party Advisory |
| https://usn.ubuntu.com/4584-1/ | Third Party Advisory |
| https://lists.apache.org/thread.html/ra2cd7f8e61dc6b8a2d9065094cd1f46aa63ad10f237ee363e26e8563%40%3Ccommits.camel.apache.org%3E |
Products
Same in every row:
- Platform bound: no
- Sources: nvd
| Product | Affected | Url |
|---|---|---|
| htmlunit:htmlunit | < 2.37.0 | /v1/products/htmlunit/htmlunit |
| debian:debian_linux | = 9.0 | /v1/products/debian/debian_linux |
| canonical:ubuntu_linux | = 16.04 | /v1/products/canonical/ubuntu_linux |
| apache:camel | all versions | /v1/products/apache/camel |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| htmlunit/htmlunit | commit, package, releases | yes | /v1/repositories/htmlunit/htmlunit |
Index
- Repositories: 25
- Repositories high signal: 4
- Packages: 1
Exploitation
- Remote: yes
- Exposed hosts: 21216412
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports