VDB

CVE-2022-37620

CVE-2022-37620 PUBLISHED CVSS 7.5 HIGH

kangax html-minifier REDoS vulnerability

Reported by mitre · Published October 31, 2022

html-minifier is fixed in 4.0.0 (npm)

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

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
html-minifiernpm4.0.0
jitsucom-jitsuWolfi2.8.4-r0
jitsucom-jitsuChainguard2.8.4-r0
html-minifierkangax4.0.0
html-minifier-terserterser7.2.0

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
n/an/an/a
wolfijitsucom-jitsu0
chainguardjitsucom-jitsu0
kangaxhtml-minifier
npmhtml-minifier0
n/an/a*

Timeline

  • Oct 31, 2022 CVE Published
  • Nov 1, 2022 EPSS Score (30 in total, the first dated here)
  • Jun 11, 2025 CVE Updated
  • Mar 9, 2026 Security Advisory
  • Jun 19, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-37620
vulnetix vdb fixes CVE-2022-37620

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-37620/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›