SecurityContext

CVE-2023-26119: HtmlUnit - XML External Entity Injection

  • Cve: CVE-2023-26119
  • Name: HtmlUnit - XML External Entity Injection
  • 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.
  • Impact: Attackers can execute arbitrary code remotely by crafting malicious webpages, leading to full system compromise.
  • Remediation: Update to version 3.0.0 or later.
  • Vulnerability type: xml_external_entity_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: user_interaction
  • Requirements: Attacker needs the victim to browse a malicious webpage
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.02513
  • Epss percentile: 0.85085
  • Assignee: [email protected]
  • Published at: 2023-04-03T05:15:07Z
  • Age in days: 1331
  • Modified at: 2026-10-08T22:17:23Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-26119
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-94Improper Control of Generation of Code
NVD-CWE-noinfo—

Public exploits

UrlSourceAdded date
https://siebene.github.io/2022/12/30/HtmlUnit-RCE/nvd2023-04-03

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/HtmlUnit/htmlunit/commit/641325bbc84702dc9800ec7037aec061ce21956bPatch
https://siebene.github.io/2022/12/30/HtmlUnit-RCE/Exploit, Third Party Advisory
https://security.snyk.io/vuln/SNYK-JAVA-NETSOURCEFORGEHTMLUNIT-3252500Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
htmlunit:htmlunit< 3.0.0nonvd/v1/products/htmlunit/htmlunit

Projects

RepositoryLink kindsIndexedUrl
htmlunit/htmlunitcommit, fix, packageyes/v1/repositories/htmlunit/htmlunit

Index

  • Repositories: 36
  • Repositories high signal: 10
  • Packages: 1

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2023-04-03
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts