{"id":"GHSA-pfq8-rq6v-vf5m","revision":"af6eed3fd8b24ff490eba8ea20776cdc","records":[{"revision":"af6eed3fd8b24ff490eba8ea20776cdc","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-pfq8-rq6v-vf5m","aliases":["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.","state":0,"publishedAt":"2022-10-31T19:00:36+00:00","modifiedAt":"2026-09-10T03:49:46.6435137+00:00","affected":[{"ecosystem":"npm","name":"html-minifier","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"last_affected","version":"4.0.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":null,"severity":null},{"system":"CVSS_V4","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","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2022-37620","https://github.com/kangax/html-minifier/issues/1135","https://github.com/kangax/html-minifier","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://security.snyk.io/vuln/SNYK-JS-HTMLMINIFIER-3091181"],"sourceUrl":"https://github.com/advisories/GHSA-pfq8-rq6v-vf5m","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-pfq8-rq6v-vf5m","identifiers":["GHSA-pfq8-rq6v-vf5m","CVE-2022-37620"]},"retained":false,"historicalAffected":[]}],"coverage":[]}