CVE-2020-7616
MEDIUMexpress-mock-middleware <= 0.0.6 - Prototype Pollution via Exported Functions
Title source: llmDescription
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.
References (2)
Core 2
Core References
Exploit, Third Party Advisory x_refsource_misc
https://snyk.io/vuln/SNYK-JS-EXPRESSMOCKMIDDLEWARE-564120
Third Party Advisory x_refsource_misc
https://github.com/LingyuCoder/express-mock-middleware/blob/master/lib/index.js#L39
Scores
CVSS v3
5.3
EPSS
0.0124
EPSS Percentile
65.3%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Details
CWE
CWE-1321
Status
published
Products (2)
express-mock-middleware_project/express-mock-middleware
< 0.0.6
npm/express-mock-middleware
0npm
Published
Apr 07, 2020
Tracked Since
Feb 18, 2026