{"id":"CVE-2022-37620","details":"A Regular Expression Denial of Service (ReDoS) flaw was found in kangax html-minifier 4.0.0 because of the reCustomIgnore regular expression.","aliases":["GHSA-pfq8-rq6v-vf5m"],"modified":"2026-04-10T04:50:13.445350Z","published":"2022-10-31T12:15:10.137Z","related":["CGA-5j8m-j65x-f87g"],"references":[{"type":"WEB","url":"https://github.com/kangax/html-minifier/blob/51ce10f4daedb1de483ffbcccecc41be1c873da2/src/htmlminifier.js#L1338"},{"type":"WEB","url":"https://github.com/kangax/html-minifier/blob/51ce10f4daedb1de483ffbcccecc41be1c873da2/src/htmlminifier.js#L294"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-HTMLMINIFIER-3091181"},{"type":"REPORT","url":"https://github.com/kangax/html-minifier/issues/1135"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/terser/html-minifier-terser","events":[{"introduced":"0"},{"last_affected":"e2bc1937d17807310cc8f674a9a22b4cb96cd657"},{"introduced":"0"},{"last_affected":"4beb325eb01154a40c0cbebff2e5737bbd7071ab"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"7.2.0"},{"introduced":"0"},{"last_affected":"4.0.0"}]}}],"versions":["v0.4.0","v0.4.1","v0.4.2","v0.4.3","v0.4.4","v0.4.5","v0.5.0","v0.5.1","v0.5.2","v0.5.3","v0.5.4","v0.5.5","v0.5.6","v0.6.1","v0.6.2","v0.6.3","v0.6.4","v0.6.5","v0.6.6","v0.6.7","v0.6.8","v0.6.9","v0.7.0","v0.7.1","v0.7.2","v0.8.0","v0.8.1","v1.0.0","v1.0.1","v1.1.1","v1.2.0","v1.3.0","v1.3.1","v1.4.0","v1.5.0","v2.0.0","v2.1.0","v2.1.1","v2.1.2","v2.1.3","v2.1.4","v2.1.5","v2.1.6","v2.1.7","v3.0.0","v3.0.1","v3.0.2","v3.0.3","v3.1.0","v3.1.1","v3.2.0","v3.2.3","v3.3.0","v3.3.1","v3.3.2","v3.3.3","v3.4.0","v3.4.1","v3.4.2","v3.4.3","v3.4.4","v3.5.0","v3.5.1","v3.5.10","v3.5.11","v3.5.12","v3.5.13","v3.5.14","v3.5.15","v3.5.16","v3.5.17","v3.5.18","v3.5.19","v3.5.2","v3.5.20","v3.5.21","v3.5.3","v3.5.4","v3.5.5","v3.5.6","v3.5.7","v3.5.8","v3.5.9","v4.0.0","v5.0.0","v5.0.1","v5.0.2","v5.0.3","v5.0.4","v5.0.5","v5.1.0","v5.1.1","v6.0.0","v6.0.1","v6.0.2","v6.1.0","v7.0.0","v7.0.0-alpha.0","v7.0.0-alpha.1","v7.0.0-alpha.2","v7.0.0-beta.0","v7.1.0","v7.2.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-37620.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}