Live threats

All CVEs / Terser

CVE-2022-37620Terser Html-minifier-terser

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.3%
probability of exploitation in 30 days · percentile 70
Auth required
No
Published
Oct 31, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-1333
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Html-minifier-terser.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm html-minifier ≤ 4.0.0 no fixed version —

Per OSV / GitHub Advisories (GHSA-pfq8-rq6v-vf5m). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
terserhtml-minifier-terser≤ 7.2.0
kangaxhtml-minifier≤ 4.0.0

Official sources

References

Links published by the sources. Open them with care.