CVE-2022-37620

A Regular Expression Denial of Service (ReDoS) flaw was found in kangax html-minifier 4.0.0 because of the reCustomIgnore regular expression.
Configurations

Configuration 1 (hide)

cpe:2.3:a:terser:html-minifier-terser:*:*:*:*:*:node.js:*:*

Configuration 2 (hide)

cpe:2.3:a:kangax:html-minifier:*:*:*:*:*:node.js:*:*

History

01 Jun 2025, 14:15

Type Values Removed Values Added
First Time Kangax
Terser
Terser html-minifier-terser
Kangax html-minifier
References
  • () https://security.snyk.io/vuln/SNYK-JS-HTMLMINIFIER-3091181 -
References () https://github.com/kangax/html-minifier/issues/1135 - Issue Tracking, Third Party Advisory () https://github.com/kangax/html-minifier/issues/1135 - Issue Tracking, Mitigation, Third Party Advisory
CPE cpe:2.3:a:html-minifier_project:html-minifier:4.0.0:*:*:*:*:*:*:* cpe:2.3:a:terser:html-minifier-terser:*:*:*:*:*:node.js:*:*
cpe:2.3:a:kangax:html-minifier:*:*:*:*:*:node.js:*:*
Summary (en) A Regular Expression Denial of Service (ReDoS) flaw was found in kangax html-minifier 4.0.0 via the candidate variable in htmlminifier.js. (en) A Regular Expression Denial of Service (ReDoS) flaw was found in kangax html-minifier 4.0.0 because of the reCustomIgnore regular expression.

Information

Published : 2022-10-31 12:15

Updated : 2025-06-01 14:15


NVD link : CVE-2022-37620

Mitre link : CVE-2022-37620

CVE.ORG link : CVE-2022-37620


JSON object : View

Products Affected

terser

  • html-minifier-terser

kangax

  • html-minifier
CWE
CWE-1333

Inefficient Regular Expression Complexity