CVE-2020-7616
express-mock-middleware through 0.0.6 is vulnerable to Prototype Pollution. Exported functions by the package can be tricked into adding…
- 5.3MediumCVSS base score
- 1.3%Exploitation in 30 daysEPSS · top 30% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
express-mock-middleware through 0.0.6 is vulnerable to Prototype Pollution. Exported functions by the package can be tricked into adding or modifying properties of the `Object.prototype`. Exploitation of this vulnerability requires creation of a new directory where an attack code can be placed which will then be exported by `express-mock-middleware`. As such, this is considered to be a low risk.
Timeline
ID reserved
By snyk
- 3 months later
· 3 months later
Published
- 4 years later
· 4 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
- EPSS (exploitation in 30 days)
- 1.3% · top 30% of all CVEs (11 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.3.
Affected products
express-mock-middleware
- affected All versions including 0.0.6
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npmexpress-mock-middlewareGHSA-v39h-qm32-8gwq (opens in a new tab)
References
References2
- https://snyk.io/vuln/SNYK-JS-EXPRESSMOCKMIDDLEWARE-564120 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/LingyuCoder/express-mock-middleware/blob/master/lib/index.js#L39 (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-2587 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-v39h-qm32-8gwq (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2020-7616)Record last updated .