{"schemaVersion":4,"id":"CVE-2022-37620","aliases":["CGA-4rc5-45fp-4c7p","CGA-6r7p-p7rc-3qc4","CGA-p6qw-c75h-cjv9","GHSA-pfq8-rq6v-vf5m"],"status":"published","duplicateOf":null,"title":null,"description":"A Regular Expression Denial of Service (ReDoS) flaw was found in kangax html-minifier 4.0.0 because of the reCustomIgnore regular expression.","dates":{"published":"2022-10-31T00:00:00.000Z","modified":"2025-06-01T13:26:16.095Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Npm","score":8.7,"severity":"high","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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01371,"percentile":0.72892,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0.020000000000000052,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.01351},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01154,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01154,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01154,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01154,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01154,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01154,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01154,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01154,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01154,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01154,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01154,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01154,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01154,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01154,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01154,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01154,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01154,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01154,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01154,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01154,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01154,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01154,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01177,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01177,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01177,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01177,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01177,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01167,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01167,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01167,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01167,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01167,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01167,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01167,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01167,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01167,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01167,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01167,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.01167,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.01167,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.01167,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.01167,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.01167,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.01167,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.01351,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.01351,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.01351,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.01351,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.01351,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.01351,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.01351,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.01351,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.01351,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.01351,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.01351,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.01351,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.01351,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.01351,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.01351,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.01351,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.01351,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.01351,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.01351,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.01362,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.01371,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.01371,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.01371,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.01371,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.01371,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.01371,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.01371,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.01371,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.01256,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.01256,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.01256,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.01256,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.01256,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.01256,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.01371,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.01371,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.01371,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.01371,"percentile":0.72892}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.01351,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.01351,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.01351,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.01351,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.01351,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.01351,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.01351,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.01351,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.01351,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.01351,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.01351,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.01351,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.01362,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.01371,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.01371,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.01371,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.01371,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.01371,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.01371,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.01371,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.01371,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.01256,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.01256,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.01256,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.01256,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.01256,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.01256,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.01371,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.01371,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.01371,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.01371,"percentile":0.72892}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity","description":"The product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/1333.html"}],"affected":[{"vendor":"chainguard","product":"jitsucom-jitsu","name":"jitsucom-jitsu","label":"jitsucom-jitsu","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/jitsucom-jitsu","purlType":"apk","versions":[{"text":"< 2.8.4-r0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.8.4-r0","endInclusive":false}}],"versionsText":"< 2.8.4-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"jitsucom-jitsu-console","name":"jitsucom-jitsu-console","label":"jitsucom-jitsu-console","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/jitsucom-jitsu-console","purlType":"apk","versions":[{"text":"< 2.8.4-r0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.8.4-r0","endInclusive":false}}],"versionsText":"< 2.8.4-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"jitsucom-jitsu-rotor","name":"jitsucom-jitsu-rotor","label":"jitsucom-jitsu-rotor","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/jitsucom-jitsu-rotor","purlType":"apk","versions":[{"text":"< 2.8.4-r0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.8.4-r0","endInclusive":false}}],"versionsText":"< 2.8.4-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"jitsucom-jitsu","name":"jitsucom-jitsu","label":"jitsucom-jitsu","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/jitsucom-jitsu","purlType":"apk","versions":[{"text":"< 2.8.4-r0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.8.4-r0","endInclusive":false}}],"versionsText":"< 2.8.4-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"jitsucom-jitsu-console","name":"jitsucom-jitsu-console","label":"jitsucom-jitsu-console","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/jitsucom-jitsu-console","purlType":"apk","versions":[{"text":"< 2.8.4-r0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.8.4-r0","endInclusive":false}}],"versionsText":"< 2.8.4-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"jitsucom-jitsu-rotor","name":"jitsucom-jitsu-rotor","label":"jitsucom-jitsu-rotor","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/jitsucom-jitsu-rotor","purlType":"apk","versions":[{"text":"< 2.8.4-r0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.8.4-r0","endInclusive":false}}],"versionsText":"< 2.8.4-r0","eol":null,"hubHref":null},{"vendor":"kangax","product":"html-minifier","name":"html-minifier","label":"html-minifier","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 4.0.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"4.0.0","endInclusive":true}}],"versionsText":"≤ 4.0.0","eol":null,"hubHref":"/vendor/kangax/html-minifier"},{"vendor":"Npm","product":"html-minifier","name":"html-minifier","label":"html-minifier","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/html-minifier","purlType":"npm","versions":[{"text":"≤ 4.0.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"4.0.0","endInclusive":true}}],"versionsText":"≤ 4.0.0","eol":null,"hubHref":null},{"vendor":"terser","product":"html-minifier-terser","name":"html-minifier-terser","label":"html-minifier-terser","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 7.2.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"7.2.0","endInclusive":true}}],"versionsText":"≤ 7.2.0","eol":null,"hubHref":"/vendor/terser/html-minifier-terser"}],"affectedCount":9,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/kangax/html-minifier/blob/51ce10f4daedb1de483ffbcccecc41be1c873da2/src/htmlminifier.js#L1338","label":"github.com/kangax/html-minifier/blob/51ce10f4daedb1de483ffbcccecc41be1c873da2/src/htmlminifier.js","hostname":"github.com","tags":["WEB","Product"]},{"url":"https://github.com/kangax/html-minifier/blob/51ce10f4daedb1de483ffbcccecc41be1c873da2/src/htmlminifier.js#L294","label":"github.com/kangax/html-minifier/blob/51ce10f4daedb1de483ffbcccecc41be1c873da2/src/htmlminifier.js","hostname":"github.com","tags":["WEB","Product"]},{"url":"https://github.com/kangax/html-minifier/issues/1135","label":"github.com/kangax/html-minifier/issues/1135","hostname":"github.com","tags":["REPORT","WEB","Issue Tracking","Mitigation","Third Party Advisory"]},{"url":"https://security.snyk.io/vuln/SNYK-JS-HTMLMINIFIER-3091181","label":"security.snyk.io/vuln/SNYK-JS-HTMLMINIFIER-3091181","hostname":"security.snyk.io","tags":["WEB"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/37xxx/CVE-2022-37620.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2022/37xxx/CVE-2022-37620.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-37620","label":"nvd.nist.gov/vuln/detail/CVE-2022-37620","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/kangax/html-minifier","label":"github.com/kangax/html-minifier","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-5J8M-J65X-F87G","CGA-MVV3-XJV4-W9GC"]},"timeline":[{"kind":"published","date":"2022-10-31T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-06-01T13:26:16.095Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"prioritise","tag":"severe","reason":"Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)","nextStep":"Check applicability and the vendor advisory: no fix release is recorded here","rank":[0,0,0,0,1,75],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.01371,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2025-06-01T13:26:16.095Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1","headline":true},{"type":"cvss","source":"osv_wolfi","date":"2025-06-01T13:26:16.095Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"cvss","source":"osv_npm","date":"2025-06-01T13:26:16.095Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.7,"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","version":"4.0"},{"type":"cvss","source":"osv_npm","date":"2025-06-01T13:26:16.095Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"cvss","source":"osv_chainguard","date":"2025-06-01T13:26:16.095Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"cvss","source":"nvd","date":"2025-06-01T13:26:16.095Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2025-05-06T15:50:27.267Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.01371,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T07:02:00.704Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T07:02:01.187Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T07:02:01.389Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T07:01:05.155Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T07:01:59.185Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T07:01:58.234Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T07:47:22.696Z","stale":false,"partial":false}}