StackPatch is liveSee product

Back to CVE digest
Ubuntu USN · USN-8220-1

HtmlUnit vulnerability

Published: Tue, 05 May 2026 21:05

CVE-2023-49093

Summary

HtmlUnit could be made to run programs as your login if it opened a malicious website.

Details

It was discovered that HtmlUnit was vulnerable to remote code execution via XSLT when browsing an attacker-controlled webpage. An attacker could possibly use this issue to execute arbitrary code in the context of the application using HtmlUnit.

Recommended actions per Ubuntu release

StackPatch playbook auto-generated per release codename and per affected package.

Ubuntu bionic

  • htmlunit2.8-3ubuntu1+esm1apt_upgrade

    Standard apt upgrade. Install 2.8-3ubuntu1+esm1 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y htmlunit

    Most apt upgrades restart their service automatically. needrestart lists anything else.

  • libhtmlunit-java2.8-3ubuntu1+esm1apt_upgrade

    Standard apt upgrade. Install 2.8-3ubuntu1+esm1 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y libhtmlunit-java

    Most apt upgrades restart their service automatically. needrestart lists anything else.

Ubuntu xenial

  • htmlunit2.8-1ubuntu2.1+esm1apt_upgrade

    Standard apt upgrade. Install 2.8-1ubuntu2.1+esm1 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y htmlunit

    Most apt upgrades restart their service automatically. needrestart lists anything else.

  • libhtmlunit-java2.8-1ubuntu2.1+esm1apt_upgrade

    Standard apt upgrade. Install 2.8-1ubuntu2.1+esm1 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y libhtmlunit-java

    Most apt upgrades restart their service automatically. needrestart lists anything else.

Are YOU affected by USN-8220-1?

5-second check on your actual server. Reads /etc/os-release, uname -r, and dpkg-query; matches against the live USN + Debian Security Tracker feeds; tells you whether USN-8220-1 (and any other live CVE) applies. Anonymous, no signup.

curl https://mindsparkstack.com/scan.sh | bash
Want this automated for your servers?

StackPatch runs this match against YOUR installed packages every hour

Free 1-server / $99 lifetime founder seat (50 only) / $19+/mo monthly. Indie pricing.