# CVE-2023-2798: Denial of service in HtmlUnit

- Severity: High 7.5 (CVSS:3.1, scored by Google) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.91%, higher than 60% of CVEs (2026-12-01)
- Published: 2023-05-25T13:54:52.191Z
- Modified: 2026-06-17T05:53:27.993Z
- Also known as: GHSA-rc44-5cmh-879m
- Weaknesses: CWE-400, CWE-787
- Assigned by: Google

## 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.

(As written by CVE List.)

## Affected

- htmlunit: before 2.70.0
- org.htmlunit:htmlunit (Maven): before 2.70.0
- htmlunit htmlunit: before 2.70.0

## Every score

- Google: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/HtmlUnit/htmlunit/commit/940dc7fd> (patch, web)
- <https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=54613> (mailing-list, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-2798> (advisory)
- <https://github.com/HtmlUnit/htmlunit> (package)
- <https://github.com/HtmlUnit/htmlunit/releases/tag/2.70.0> (web)

## Sources

- CVE List: [CVE-2023-2798](https://www.cve.org/CVERecord?id=CVE-2023-2798), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-rc44-5cmh-879m](https://github.com/advisories/GHSA-rc44-5cmh-879m), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2023-2798](https://nvd.nist.gov/vuln/detail/CVE-2023-2798), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-2798 · Whole record: https://cve.day/CVE-2023-2798.json · Rebuilt by cve.day 2026-11-25T22:58:24.378Z
