CVE-2020-7753: Regular Expression Denial of Service (ReDoS)
Vulnerability summary
CVE-2020-7753 is a high (CVSS 7.5) Uncontrolled Resource Consumption vulnerability in trim Npm. EPSS estimates a 3.78% chance of exploitation in the next 30 days, higher than 89.9% of scored vulnerabilities. 2 public exploits are recorded.
Public exploit (reference, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 9 · Related 9Timeline
- 27-10-2020PublishedVulnerability first disclosed.
- 16-09-2024Last modifiedVulnerability information updated.
Description
All versions of package trim are vulnerable to Regular Expression Denial of Service (ReDoS) via trim().
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · NpmEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
3.78%
Chance of exploitation in the next 30 days
Percentile
90%
Versus all other CVEs
30-day change
No change 0.00 pp
From 3.78% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
2 foundExploit Reference (snyk.io)
Maturity: unknown
Exploit Reference (snyk.io)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Npm1 product
- trim< 0.0.3
1 vendor · 1 product
References
17 links- github.com/component/trim/blob/master/index.js%23L6X Refsource MISCWEBBroken LinkThird Party Advisory