What’s Vulnerable › Vulnerabilities
CVE-2023-49093: HtmlUnit vulnerable to Remote Code Execution (RCE) via XSTL
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2023-12-04 · updated 2026-06-17
- Weakness: CWE-94
Description
HtmlUnit is a GUI-less browser for Java programs. HtmlUnit is vulnerable to Remote Code Execution (RCE) via XSTL, when browsing the attacker’s webpage. This vulnerability has been patched in version 3.9.0
Affected products
- net.sourceforge.htmlunit:htmlunit: before 3.9.0 — fixed in 3.9.0
How to fix
Upgrade to a fixed version: net.sourceforge.htmlunit:htmlunit 3.9.0. Check the vendor advisory for mitigations.
References
- https://github.com/HtmlUnit/htmlunit/security/advisories/GHSA-37vq-hr2f-g7h7
- https://www.htmlunit.org/changes-report.html#a3.9.0
- https://github.com/HtmlUnit/htmlunit/security/advisories/GHSA-37vq-hr2f-g7h7
- https://www.htmlunit.org/changes-report.html#a3.9.0
Get alerted when CVE-2023-49093 or the next vulnerability affects your stack