CVE-2022-37620: High severity Html-minifier Project Html-minifier vulnerability

Published Oct 31, 2022
·
Updated

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

Other sources

A Regular Expression Denial of Service (ReDoS) flaw was found in kangax html-minifier 4.0.0 via the candidate variable in htmlminifier.js.

— GitHub

Affected Software

4 affected components
npm/html-minifier<=4.0.0
Html-minifier Project Html-minifier=4.0.0
terser Html-minifier-terser Node.js<=7.2.0
kangax Html-minifier Node.js<=4.0.0

Event History

Oct 31, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Advisory Published
via GitHub·07:00 PM

Frequently Asked Questions

1

What is the severity of CVE-2022-37620?

CVE-2022-37620 has been classified as a Regular Expression Denial of Service (ReDoS) vulnerability, which can lead to denial of service conditions.

2

How do I fix CVE-2022-37620?

To mitigate CVE-2022-37620, upgrade html-minifier to a version higher than 4.0.0.

3

Which versions of html-minifier are affected by CVE-2022-37620?

CVE-2022-37620 affects the html-minifier version 4.0.0.

4

Is CVE-2022-37620 present in other packages?

CVE-2022-37620 may also be present in packages that depend on the affected versions of html-minifier, such as html-minifier-terser.

5

What potential impact does CVE-2022-37620 have on applications?

CVE-2022-37620 can allow attackers to cause denial of service by exploiting inefficient regular expressions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203