Skip to main content
No exploitation reportedFix available

CVE-2023-2798

No exploitation reported by the sources we read.

  • Published2023-05-25
  • Fixed in2.70.0
  • WeaknessCWE-400 · CWE-787

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

Those using HtmlUnit to browse untrusted webpages may be vulnerable to Denial of service attacks (DoS). If HtmlUnit is running on user supplied web pages, an attacker may supply content that causes HtmlUnit to crash by a stack overflow. This effect may support a denial of service attack.This issue affects htmlunit before 2.70.0.

Timeline

dates in UTC
  1. 2023-05-2514:15CVE publishedNVD

Versions per branch

NVD · OSV
Htmlunit
BranchAffectedFixed in
2.70< 2.70.02.70.0

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • htmlunitUbuntu:Pro:18.04:LTSall versions · no fixed version listed
  • htmlunitUbuntu:Pro:16.04:LTSall versions · no fixed version listed
  • jenkins-htmlunit-core-jsUbuntu:20.04:LTSall versions · no fixed version listed
  • jenkins-htmlunit-core-jsUbuntu:18.04:LTSall versions · no fixed version listed
  • jenkins-htmlunit-core-jsUbuntu:16.04:LTSall versions · no fixed version listed

Vendor advisories

  • CVE-2023-2798 Red Hat Product Security2 products fixed · 9 known affected

    htmlUnit: Stack overflow crash causes Denial of Service (DoS)

    org.jboss.windup-windup-parent.src as a component of Migration Toolkit for Applications 6 · htmlUnit as a component of Red Hat Decision Manager 7 · htmlUnit as a component of Red Hat Fuse 7 · +6 more

  • RHSA-2023:4627 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Migration Toolkit for Applications security and bug fix update

  • RHSA-2023:3814 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Migration Toolkit for Runtimes security update

Full record on NVD

Fix

  1. Update Htmlunit to 2.70.0
  2. Vendor fix Red Hat Product Security RHSA-2023:4627 · 1 productFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  3. No fix available, says the vendor Red Hat Product Security CVE-2023-2798 · 1 productAffected
  4. No fix planned, says the vendor Red Hat Product Security CVE-2023-2798 · 8 productsOut of support scope

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CNACVSS 3.17.5known since 2026-10-23
  • NVDCVSS 3.17.5read 2026-10-23
  • CNAweakness (CWE)CWE-400known since 2026-10-23
  • NVDweakness (CWE)CWE-787read 2026-10-23
  • FIRST EPSSEPSS score0.9 %2026-12-03
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryHigh2023-05-25

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2023-05-25
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-rc44-5cmh-879m

Frequently asked questions

What is CVE-2023-2798?

Those using HtmlUnit to browse untrusted webpages may be vulnerable to Denial of service attacks (DoS). If HtmlUnit is running on user supplied web pages, an attacker may supply content that causes HtmlUnit to crash by a stack overflow. This effect may support a denial of service attack.This issue affects htmlunit before 2.70.0.

Is CVE-2023-2798 actively exploited?

Active exploitation of CVE-2023-2798 has not been confirmed. Its EPSS score was 0.9% on 2026-12-03, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2023-2798?

CVE-2023-2798 has a CVSS v3 base score of 7.5 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running htmlunit? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record