Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.htmlunit/htmlunit
  4. ›
  5. CVE-2023-49093

CVE-2023-49093: Improper Control of Generation of Code ('Code Injection')

December 4, 2023

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

References

  • github.com/HtmlUnit/htmlunit/security/advisories/GHSA-37vq-hr2f-g7h7
  • github.com/advisories/GHSA-37vq-hr2f-g7h7
  • nvd.nist.gov/vuln/detail/CVE-2023-49093
  • www.htmlunit.org/changes-report.html

Code Behaviors & Features

Detect and mitigate CVE-2023-49093 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.9.0

Fixed versions

  • 3.9.0

Solution

Upgrade to version 3.9.0 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

maven/org.htmlunit/htmlunit/CVE-2023-49093.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 00:15:17 +0000.