A Regular Expression Denial of Service (ReDoS) flaw was found in kangax html-minifier 4.0.0 because of the reCustomIgnore regular expression
Published Oct 31, 2022
8.7
HIGHCVSS 4.0
EPSS 1.15%
Description
A Regular Expression Denial of Service (ReDoS) flaw was found in kangax html-minifier 4.0.0 because of the reCustomIgnore regular expression.
Affected products
No data.
Configuration 1
- ≤ 7.2.0
Configuration 2
- ≤ 4.0.0
No data.
No Red Hat product state for this CVE.
html-minifier
npm
Introduced 0 Fixed not fixed
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | html-minifier | 0 | not fixed |
Remediation
No remediation recorded yet.
Metrics
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
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
YesTechnical Impact
PartialDecision
n/aAssessed May 6, 2025 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (14 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 1.15% (0.01154) | 65.86th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.09% (0.01092) | 60.96th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.07% (0.00072) | 19.46th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.11% (0.00111) | 46.02th | v3 (v2023.03.01) |
| Jun 21, 2024 | 0.12% (0.00119) | 46.32th | v3 (v2023.03.01) |
| Jun 7, 2024 | 0.10% (0.00099) | 41.10th | v3 (v2023.03.01) |
| Apr 12, 2024 | 0.08% (0.00079) | 32.92th | v3 (v2023.03.01) |
| Dec 3, 2023 | 0.07% (0.00071) | 29.26th | v3 (v2023.03.01) |
| Nov 7, 2023 | 0.06% (0.00063) | 25.80th | v3 (v2023.03.01) |
| Oct 1, 2023 | 0.06% (0.00056) | 21.61th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.05% (0.00049) | 15.55th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.95% (0.00954) | 36.37th | v2 (v2022.01.01) |
| Nov 2, 2022 | 0.95% (0.00954) | 35.16th | v2 (v2022.01.01) |
| Nov 1, 2022 | 0.89% (0.00890) | 29.18th | v2 (v2022.01.01) |
References (6)
- https://github.com/advisories/GHSA-pfq8-rq6v-vf5m Advisory
- https://github.com/kangax/html-minifier/blob/51ce10f4daedb1de483ffbcccecc41be1c873da2/src/htmlminifier.js#L1338 Product
- https://github.com/kangax/html-minifier/blob/51ce10f4daedb1de483ffbcccecc41be1c873da2/src/htmlminifier.js#L294 Product
- https://github.com/kangax/html-minifier/issues/1135 Issue TrackingMitigationThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2022-37620
- https://security.snyk.io/vuln/SNYK-JS-HTMLMINIFIER-3091181
Change history (0)
No recorded changes yet.