CVE-2022-37620

Description

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

Severity
HIGH
CVSS v3
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H · source nvd
Exploit chance (EPSS)
1.371%
chance of exploitation in the next 30 days
higher than 72.4% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA SSVC decision points

Exploitationnone
Automatableyes
Technical impactpartial
Scored2025-05-06

Timeline

  1. 2022-10-31Published by the CNA00:00 UTC
  2. 2022-10-31GitHub advisory published (GHSA-pfq8-rq6v-vf5m)same day
  3. 2025-05-06CISA SSVC decision recorded918 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-pfq8-rq6v-vf5m, affected packages:

PackageVulnerable versionsFixed in
npm html-minifierthrough 4.0.0

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
kangax html-minifierthrough 4.0.0no fix listednot listed
terser html-minifier-terserthrough 7.2.0no fix listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources