{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-37620","id":"CVE-2022-37620","title":"kangax html-minifier REDoS vulnerability","description":"A Regular Expression Denial of Service (ReDoS) flaw was found in kangax html-minifier 4.0.0 because of the reCustomIgnore regular expression.","descriptionLong":"A Regular Expression Denial of Service (ReDoS) flaw was found in kangax html-minifier 4.0.0 because of the reCustomIgnore regular expression.","published":"2022-10-31T00:00:00.000Z","updated":"2026-10-28T02:30:22.223638251Z","reserved":"2022-08-08T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"4.0","score":null,"vector":"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","rating":"high","source":"GitHub"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"version":"n/a","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"html-minifier","purl":"pkg:npm/html-minifier","ranges":["<=4.0.0"],"fixed":[],"advisory":"GHSA-pfq8-rq6v-vf5m"}],"cwes":["CWE-1333","CWE-400"],"aliases":["GHSA-pfq8-rq6v-vf5m"],"references":[{"url":"https://github.com/kangax/html-minifier/blob/51ce10f4daedb1de483ffbcccecc41be1c873da2/src/htmlminifier.js#L1338","tags":["x_transferred","Product","web"]},{"url":"https://github.com/kangax/html-minifier/blob/51ce10f4daedb1de483ffbcccecc41be1c873da2/src/htmlminifier.js#L294","tags":["x_transferred","Product","web"]},{"url":"https://github.com/kangax/html-minifier/issues/1135","tags":["x_transferred","Issue Tracking","Mitigation","Third Party Advisory","report","web"]},{"url":"https://security.snyk.io/vuln/SNYK-JS-HTMLMINIFIER-3091181","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/37xxx/CVE-2022-37620.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-37620","tags":["advisory"]},{"url":"https://github.com/kangax/html-minifier","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.01371,"epssPercentile":0.72498,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-37620","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-37620","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-37620","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-pfq8-rq6v-vf5m","ok":true,"note":"GHSA-pfq8-rq6v-vf5m"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-37620","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}