Vulnerability · Published Dec 4, 2023 · Assigned by GitHub_M

CVE-2023-49093HtmlUnit vulnerable to Remote Code Execution (RCE) via XSTL

Critical 9.8

In plain English

A critical-severity code injection in htmlunit from HtmlUnit. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 2.4% (higher than 84% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)2.4%top 16.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.htmlunit:htmlunit3.9.0GHSA-37vq-hr2f-g7h7

Affected products (as reported)

VendorProductVersions
HtmlUnit htmlunit < 3.9.0

Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References