# CVE-2023-26119: HtmlUnit Code Injection vulnerability

- Severity: Critical 9.8 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P`
- 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): 2.51%, higher than 85% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-04-03T05:00:02.503Z
- Modified: 2026-10-08T22:17:23.163Z
- Also known as: GHSA-3xrr-7m6p-p7xh
- Weaknesses: CWE-74, CWE-94
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: snyk

## Description

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.

(As written by CVE List.)

## Affected

- net.sourceforge.htmlunit:htmlunit: before 3.0.0
- net.sourceforge.htmlunit:htmlunit (Maven): before 3.0.0
- htmlunit htmlunit: before 3.0.0

## Every score

- snyk: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://siebene.github.io/2022/12/30/HtmlUnit-RCE/> (exploit, third-party-advisory)
- <https://security.snyk.io/vuln/SNYK-JAVA-NETSOURCEFORGEHTMLUNIT-3252500> (third-party-advisory, web)
- <https://github.com/HtmlUnit/htmlunit/commit/641325bbc84702dc9800ec7037aec061ce21956b> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-26119> (advisory)
- <https://github.com/HtmlUnit/htmlunit> (package)
- <https://siebene.github.io/2022/12/30/HtmlUnit-RCE> (web)

## Sources

- CVE List: [CVE-2023-26119](https://www.cve.org/CVERecord?id=CVE-2023-26119), CVE Terms of Use, modified 2026-10-08
- GitHub Advisory Database: [GHSA-3xrr-7m6p-p7xh](https://github.com/advisories/GHSA-3xrr-7m6p-p7xh), CC-BY-4.0, modified 2024-02-17
- NVD: [CVE-2023-26119](https://nvd.nist.gov/vuln/detail/CVE-2023-26119), Public domain, modified 2026-10-08

---

Page: https://cve.day/CVE-2023-26119 · Whole record: https://cve.day/CVE-2023-26119.json · Rebuilt by cve.day 2026-11-25T22:58:22.996Z
