npm package report

Is html-minifier safe?

1 known vulnerability, worst severity HIGH.

// reach

17 direct dependencies

4 carry known advisories, worst CRITICAL

31 packages depend on it

an advisory here reaches each of them

Create a free accountfor every dependency path, dependent and what to upgrade
// ai model usage

Tracked for PyPI packages. HuggingFace models declare Python dependencies, so npm packages are not covered.


cvss
7.5
high

CVSS v3.1 base score out of 10

epss
1.4%
medium

chance of exploitation in 30 days, 72nd percentile of all CVEs

xyz score
4.3
medium

CyberXYZ composite out of 10

fig. 01 — GHSA-pfq8-rq6v-vf5m, the advisory selected below

// 1 advisories

GHSA-pfq8-rq6v-vf5m

HIGHGitHub ratingCVE-2022-37620

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

// cvss v3.1 vector

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

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Checked 2026-11-06 at 21:51 UTC. The most recent advisory here was published 2022-10-31. Updated continuously from NVD, GHSA, OSV and CNA feeds.

Think a verdict here is wrong? Tell us — we respond within 2 business days.