CVE-2022-37620

A Regular Expression Denial of Service (ReDoS) flaw was found in kangax html-minifier 4.0.0 via the candidate variable in htmlminifier.js.
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

06 May 2025, 16:15

Type Values Removed Values Added
References () https://github.com/kangax/html-minifier/issues/1135 - Issue Tracking, Third Party Advisory, Mitigation () https://github.com/kangax/html-minifier/issues/1135 - Issue Tracking, Mitigation, Third Party Advisory

02 May 2025, 17:34

Type Values Removed Values Added
First Time Kangax
Terser html-minifier-terser
Kangax html-minifier
Terser
References () https://github.com/kangax/html-minifier/issues/1135 - Issue Tracking, Third Party Advisory () https://github.com/kangax/html-minifier/issues/1135 - Issue Tracking, Third Party Advisory, Mitigation
CPE cpe:2.3:a:html-minifier_project:html-minifier:4.0.0:*:*:*:*:*:*:* cpe:2.3:a:kangax:html-minifier:*:*:*:*:*:node.js:*:*
cpe:2.3:a:terser:html-minifier-terser:*:*:*:*:*:node.js:*:*

21 Nov 2024, 07:15

Type Values Removed Values Added
References () https://github.com/kangax/html-minifier/blob/51ce10f4daedb1de483ffbcccecc41be1c873da2/src/htmlminifier.js#L1338 - Product () https://github.com/kangax/html-minifier/blob/51ce10f4daedb1de483ffbcccecc41be1c873da2/src/htmlminifier.js#L1338 - Product
References () https://github.com/kangax/html-minifier/blob/51ce10f4daedb1de483ffbcccecc41be1c873da2/src/htmlminifier.js#L294 - Product () https://github.com/kangax/html-minifier/blob/51ce10f4daedb1de483ffbcccecc41be1c873da2/src/htmlminifier.js#L294 - Product
References () https://github.com/kangax/html-minifier/issues/1135 - Issue Tracking, Third Party Advisory () https://github.com/kangax/html-minifier/issues/1135 - Issue Tracking, Third Party Advisory

04 Nov 2024, 16:52

Type Values Removed Values Added
References () https://github.com/kangax/html-minifier/blob/51ce10f4daedb1de483ffbcccecc41be1c873da2/src/htmlminifier.js#L1338 - Exploit, Third Party Advisory () https://github.com/kangax/html-minifier/blob/51ce10f4daedb1de483ffbcccecc41be1c873da2/src/htmlminifier.js#L1338 - Product
References () https://github.com/kangax/html-minifier/blob/51ce10f4daedb1de483ffbcccecc41be1c873da2/src/htmlminifier.js#L294 - Exploit, Third Party Advisory () https://github.com/kangax/html-minifier/blob/51ce10f4daedb1de483ffbcccecc41be1c873da2/src/htmlminifier.js#L294 - Product

Information

Published : 2022-10-31 12:15

Updated : 2025-05-06 16: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