---
title: "CVE-2026-140010: HTML Minifier Next - Denial of Service"
description: "HTML Minifier Next < 9.1.2 and HTML Minifier 3.1.1 to < 5.0.1 contain a denial of service caused by ambiguous regular expressions in minify() leading to excessive CPU usage, letting attackers cause high CPU load, exploit requires crafted HTML with long ignored fragments."
url: https://panop.io/threat-heartbeat/CVE-2026-140010/
---

# CVE-2026-140010 HTML Minifier Next - Denial of Service

HTML Minifier Next < 9.1.2 and HTML Minifier 3.1.1 to < 5.0.1 contain a denial of service caused by ambiguous regular expressions in minify() leading to excessive CPU usage, letting attackers cause high CPU load, exploit requires crafted HTML with long ignored fragments.

CVSS base score 8.7 /10

High

CISA KEV

Not listed

Public exploit

None known

Authentication

Not required

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-140010)

## Details

Type

Denial of Service

Impact

Denial Of Service

CVSS vector

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Published

30 November 2026

Updated

1 December 2026

Weakness

[CWE-1333](https://cwe.mitre.org/data/definitions/1333.html)

## Vendor fix

Update to html-minifier-next 9.1.2 or html-minifier 5.0.1 or later.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-140010](https://nvd.nist.gov/vuln/detail/CVE-2026-140010)
- [https://github.com/j9t/html-minifier-next/commit/28417322a9b0291de8b0d1c0694e09855d925545](https://github.com/j9t/html-minifier-next/commit/28417322a9b0291de8b0d1c0694e09855d925545)
- [https://github.com/j9t/html-minifier-next/security/advisories/GHSA-9wmg-23wv-h297](https://github.com/j9t/html-minifier-next/security/advisories/GHSA-9wmg-23wv-h297)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
