What’s Vulnerable › Vulnerabilities
CVE-2020-7616
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2020-04-07 · updated 2026-06-17
- Weakness: CWE-1321
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.
Affected products
- express-mock-middleware: through 0.0.6
References
- https://github.com/LingyuCoder/express-mock-middleware/blob/master/lib/index.js#L39
- https://snyk.io/vuln/SNYK-JS-EXPRESSMOCKMIDDLEWARE-564120
- https://github.com/LingyuCoder/express-mock-middleware/blob/master/lib/index.js#L39
- https://snyk.io/vuln/SNYK-JS-EXPRESSMOCKMIDDLEWARE-564120
Get alerted when CVE-2020-7616 or the next vulnerability affects your stack