GHSA-pfq8-rq6v-vf5m

Suggest an improvement
Source
https://github.com/advisories/GHSA-pfq8-rq6v-vf5m
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/10/GHSA-pfq8-rq6v-vf5m/GHSA-pfq8-rq6v-vf5m.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-pfq8-rq6v-vf5m
Aliases
Downstream
CGA (3)
Published
2022-10-31T19:00:36Z
Modified
2026-09-10T03:49:46Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • 8.7 (High) CVSS_V4 - CVSS: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 Calculator
Summary
kangax html-minifier REDoS vulnerability
Details

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

Database specific
{
    "cwe_ids":  [
        "CWE-1333",
        "CWE-400"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2024-04-22T23:06:37Z",
    "nvd_published_at":  "2022-10-31T12:15:00Z",
    "severity":  "HIGH"
}
References

Affected packages

npm / html-minifier

Package

Name
html-minifier
View open source insights on deps.dev
Purl
pkg:npm/html-minifier

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Last Affected
4.0.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/10/GHSA-pfq8-rq6v-vf5m/GHSA-pfq8-rq6v-vf5m.json"