{"cve":"CVE-2022-37620","nvd":{"published":"2022-10-31T12:15:10.137","modified":"2026-06-17T04:55:09.607","status":"Modified","description":"A Regular Expression Denial of Service (ReDoS) flaw was found in kangax html-minifier 4.0.0 because of the reCustomIgnore regular expression.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-1333"],"references":["https://github.com/kangax/html-minifier/blob/51ce10f4daedb1de483ffbcccecc41be1c873da2/src/htmlminifier.js#L1338","https://github.com/kangax/html-minifier/blob/51ce10f4daedb1de483ffbcccecc41be1c873da2/src/htmlminifier.js#L294","https://github.com/kangax/html-minifier/issues/1135","https://security.snyk.io/vuln/SNYK-JS-HTMLMINIFIER-3091181","https://github.com/kangax/html-minifier/blob/51ce10f4daedb1de483ffbcccecc41be1c873da2/src/htmlminifier.js#L1338"],"products":["kangax:html-minifier","terser:html-minifier-terser"],"source":"nvd","synced_at":"2026-10-19T21:37:08.729216836+00:00"},"epss":{"cve":"CVE-2022-37620","score":0.01351,"percentile":0.71517,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-pfq8-rq6v-vf5m","url":"https://osv.dev/vulnerability/GHSA-pfq8-rq6v-vf5m","summary":"kangax html-minifier REDoS vulnerability","modified":"2026-09-10T03:49:46.643513657Z","packages":[{"ecosystem":"npm","name":"html-minifier","purl":"pkg:npm/html-minifier","ranges":["<=4.0.0"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}