Every CVE Search/ Get API key

CVE-2022-37620

kangax html-minifier REDoS vulnerability

7.5 HighFix available

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

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

1.35%Up 0.5 points since Nov 1, 2022
90%50%10%1%

What each source reports

NVD Score used 7.5

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

Record
CVE-2022-37620
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-1333
Updated
2026-11-02
CVE List 7.5

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

Record
CVE-2022-37620
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-1333
Updated
2026-11-02
EUVDEUVD-2022-7144 7.5

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

Record
EUVD-2022-7144
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-pfq8-rq6v-vf5m 8.7

kangax html-minifier REDoS vulnerability

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

Record
GHSA-pfq8-rq6v-vf5m
CVSS 4.0
8.7 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-400, CWE-1333
Updated
2026-11-02
OSV 7.5

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

Record
CVE-2022-37620
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVGHSA-pfq8-rq6v-vf5m 8.7

kangax html-minifier REDoS vulnerability

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

Record
GHSA-pfq8-rq6v-vf5m
CVSS 4.0
8.7 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-1333, CWE-400
Updated
2026-11-02
Show 4 moreShow less
OSVCLSA-2026-1774657356 No score

TuxCare security update for html-minifier (1 CVE)

TuxCare rebuilt html-minifier to address 1 CVE. Fixed in 3.5.21-tuxcare.1.

Record
CLSA-2026-1774657356
Updated
2026-11-02
OSVCLSA-2026-1792745496 No score

TuxCare security update for html-minifier (1 CVE)

TuxCare rebuilt html-minifier to address 1 CVE. Fixed in 4.0.0-tuxcare.1.

Record
CLSA-2026-1792745496
Updated
2026-11-02
OSVCLSA-2026-1793867521 No score

TuxCare security update for html-minifier (1 CVE)

TuxCare rebuilt html-minifier to address 1 CVE. Fixed in 3.5.21-tuxcare.3.

Record
CLSA-2026-1793867521
Updated
2026-11-05
OSVROOT-APP-NPM-CVE-2022-37620 No score

CVE-2022-37620 in @rootio/html-minifier - Patched by Root

Root has patched CVE-2022-37620 in the @rootio/html-minifier package for Root:npm. Multiple fixed versions available.

Record
ROOT-APP-NPM-CVE-2022-37620
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
html-minifier
npm
through 4.0.0 None known
html-minifier
TuxCare:npm
3.5.21-tuxcare.0 up to 3.5.21-tuxcare.1, plus listed versions
3.5.21
3.5.21-tuxcare.1
html-minifier
TuxCare:npm
4.0.0-tuxcare.0 up to 4.0.0-tuxcare.1, plus listed versions
4.0.0
4.0.0-tuxcare.1
html-minifier
TuxCare:npm
3.5.21-tuxcare.0 up to 3.5.21-tuxcare.3, plus listed versions
3.5.213.5.21-tuxcare.13.5.21-tuxcare.2
3.5.21-tuxcare.3
@rootio/html-minifier
Root:npm
before 3.5.21-root.io.1
3.5.21-root.io.13.5.21-root.io.2
html-minifier
Root:npm
before 3.5.21-aikido.2
3.5.21-aikido.2

History

History
RecordedChangedSources
affected, aliases, factsOSV
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-37620 is a high vulnerability (CVSS 7.5) in Kangax Html-minifier, published October 31, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.35%, the 71st percentile. Fixed in html-minifier 3.5.21-tuxcare.1.

References

MoveEnter Open