CVE-2026-140010: Vulnerability in J9t Html-minifier-next
Patch soon. 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...
npm, CWE-1333
- Exploitation
- None confirmed
- Severity
- 8.7 of 10
- Attack likelihood
- 0.5 % in 30 days
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-9wmg-23wv-h297
- EU ID
- EUVD-2026-139735
- 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
- Weakness
- CWE-1333
- Published
- 30 Nov 2026
- Last change
- 1 Dec 2026
- Likelihood rank
- Higher than 43 % of all rated vulnerabilities
- Analysis status
- Received
- Ecosystem
- npm
Affected products
Affected versions and the first fixed release
- J9t Html-minifier-next Before 9.1.2; Version < 9.1.2. Fixed in 9.1.2
- J9t Html-minifier From 3.1.1, before 5.0.1; Version >= 3.1.1, < 5.0.1. Fixed in 5.0.1
Affected packages
Vulnerable version ranges and fixed releases
- html-minifier-next npm, Affected through 9.1.1. Fixed in 9.1.2
- html-minifier npm, Affected from 3.1.1 before 5.0.1. Fixed in 5.0.1
Advisories
Vendor and security advisories
Patches and fixes
Updates, commits and release notes
Related
- Html-minifier-next vulnerabilities Recent advisories, watch this product
- Html-minifier vulnerabilities Recent advisories, watch this product