Description
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-31
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2022-7144 kangax html-minifier REDoS vulnerability
Github GHSA Github GHSA GHSA-pfq8-rq6v-vf5m kangax html-minifier REDoS vulnerability
History

Sun, 01 Jun 2025 13:45:00 +0000

Type Values Removed Values Added
Description A Regular Expression Denial of Service (ReDoS) flaw was found in kangax html-minifier 4.0.0 via the candidate variable in htmlminifier.js. A Regular Expression Denial of Service (ReDoS) flaw was found in kangax html-minifier 4.0.0 because of the reCustomIgnore regular expression.
References

Tue, 06 May 2025 16:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 02 May 2025 18:00:00 +0000

Type Values Removed Values Added
First Time appeared Kangax
Kangax html-minifier
Terser
Terser html-minifier-terser
CPEs cpe:2.3:a:html-minifier_project:html-minifier:4.0.0:*:*:*:*:*:*:* cpe:2.3:a:kangax:html-minifier:*:*:*:*:*:node.js:*:*
cpe:2.3:a:terser:html-minifier-terser:*:*:*:*:*:node.js:*:*
Vendors & Products Html-minifier Project
Html-minifier Project html-minifier
Kangax
Kangax html-minifier
Terser
Terser html-minifier-terser

Subscriptions

Kangax Html-minifier
Terser Html-minifier-terser
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2025-06-01T13:26:16.095Z

Reserved: 2022-08-08T00:00:00.000Z

Link: CVE-2022-37620

cve-icon Vulnrichment

Updated: 2024-08-03T10:29:21.041Z

cve-icon NVD

Status : Modified

Published: 2022-10-31T12:15:10.137

Modified: 2025-06-01T14:15:19.937

Link: CVE-2022-37620

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses