CVE-2023-26119
CRITICAL 9.8CVSS 3.1HtmlUnit Code Injection vulnerability
Versions of the package net.sourceforge.htmlunit:htmlunit from 0 and before 3.0.0 are vulnerable to Remote Code Execution (RCE) via XSTL, when browsing the attacker’s webpage.
- Published
- 3 Apr 2023
- Last modified
- 8 Oct 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-74CWE-94
- Also known as
- GHSA-3xrr-7m6p-p7xh
- Sources
- NVDJSONOSV GHSA-3xrr-7m6p-p7xhJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | htmlunit | htmlunitcpe:2.3:a:htmlunit:htmlunit:*:*:*:*:*:*:*:* |
< 3.0.0 | 3.0.0 |
| OSV | Maven | net.sourceforge.htmlunit:htmlunit | < 3.0.0 | 3.0.0 |
References
- https://github.com/HtmlUnit/htmlunit/commit/641325bbc84702dc9800ec7037aec061ce21956b · Patch, WEB
- https://security.snyk.io/vuln/SNYK-JAVA-NETSOURCEFORGEHTMLUNIT-3252500 · Third Party Advisory, WEB
- https://siebene.github.io/2022/12/30/HtmlUnit-RCE/ · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-26119 · ADVISORY
- https://github.com/HtmlUnit/htmlunit · PACKAGE
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 3 Apr 2023)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 6 Jul 2023)