CVE-2026-140010

HighCVSS 8.7/10Last modified Dec 1, 2026

Description

HTML Minifier Next is a configurable HTML minifier and the enhanced successor to HTML Minifier. Prior to html-minifier-next 9.1.2, and from html-minifier 3.1.1 until 5.0.1, minify() in src/htmlminifier.js uses ambiguous regular expressions that can repeatedly rescan ignored or custom-fragment content. The ignoreCustomFragments whitespace-splitting variant dates to html-minifier 3.1.1, while html-minifier 5.0.0 carries both that variant and the RE_LAST_HTML_TAG variant used for htmlmin:ignore content. With collapseWhitespace enabled, a long htmlmin:ignore block without a matching tag reaches RE_LAST_HTML_TAG when the ignore-block placeholder and intervening text are followed by a real element; independently, a long whitespace run in a default custom fragment reaches the whitespace-splitting expression. Either form can cause quadratic regular-expression backtracking and occupy a CPU core for seconds or minutes. This issue is fixed in html-minifier-next 9.1.2 and html-minifier 5.0.1.

Metrics

CVSS 4.0 8.7/10CVSS: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

Weakness enumeration

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Nov 30, 2026
Last modified
Dec 1, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-1400117.5permessage-deflate-ruby provides the per-message DEFLATE compression extension for WebSocket connections. Prior to permessage_deflate 0.2.0,CVE-2026-1400125.3Terser is a JavaScript parser, mangler, and compressor toolkit for ES6+. Prior to 4.8.2, and from 5.0.0 to before 5.51.3, when minify() is gCVE-2026-1400146.5cookie is an HTTP cookie parsing and cookie jar management library for Rust. From 0.11.3 until 0.12.0 and from 0.14.0 until 0.18.3, PrivateJCVE-2026-1400157.5websocket-driver is a WebSocket protocol handler with pluggable input and output. Prior to 0.9.1, a server piping socket bytes into websockeCVE-2026-1400169.1websocket-driver is a WebSocket protocol handler with pluggable input and output. Prior to 0.9.0, message parsing for draft75 and draft76 WeCVE-2026-140026.5Inappropriate implementation in Geolocation in Google Chrome prior to 150.0.7871.47 allowed a remote attacker who had compromised the renderCVE-2026-1400204.3The Flexible Quantity & Price Calculator for WooCommerce plugin for WordPress is vulnerable to authorization bypass in all versions up to, aCVE-2026-1400254.6Improper Resolution of Path Equivalence (CWE-41) in the active content confirmation of PeaZip from 10.5.0 before 11.3.0 on Windows allows a CVE-2026-140034.3Insufficient policy enforcement in Extensions in Google Chrome prior to 150.0.7871.47 allowed an attacker who convinced a user to install a CVE-2026-1400306.4The Product Filter for WooCommerce by WBW plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'display_name' parameterCVE-2026-1400338.4Shift Crypto BitBox02 firmware before 9.26.2 and bootloader before 1.2.0 contain an out-of-bounds write in hid_req() that ignores buffer sizCVE-2026-1400345.5Fraunhofer HHI VVdeC 3.3.0 contains a NULL pointer dereference vulnerability in DecLibParser::xDecodeSliceHead() that allows attackers to cr
CVE-2026-140010: High severity, CVSS 8.7 | Vulnix