← 취약점·업데이트

높음취약점 권고JavaScript / Node.js

HTML Minifier Next: Regular expressions in `minify()` cause O(n²) backtracking on ignored and custom-fragment content

영향

패키지영향받는 버전수정 버전
npm:html-minifier-next<= 9.1.19.1.2
npm:html-minifier>= 3.1.1, < 5.0.15.0.1

html-minifier-next finds the last HTML tag inside htmlmin:ignore blocks with the expression /[\s\S] and (64 KB: about 3.3 s). Affected component and version - Repository: j9t/html-minifier-next - Affected version(s): Affected version(s): all releases up to and including 9.1.1 - Component: src/htmlminifier.js:691 (RE_LAST_HTML_TAG), :1795 (exec on htmlmin:ignore content, requires collapseWhitespace); src/htmlminifier.js:1279 (whitespace split of ignoreCustomFragments matches, default options) -…

GitHub Advisory Database에서 읽기

2026. 12. 02. 오전 02:56, GitHub Advisory Database에서 "HTML Minifier Next: Regular expressions in `minify()` cause O(n²) backtracking on ignored and custom-fragment content"을(를) 게시했습니다 (유형: 취약점 권고). 심각도는 "높음"(high)입니다. 관련 기술: JavaScript / Node.js. CVE: CVE-2026-140010.