CVE-2020-7616
MEDIUM 5.3CVSS 3.1Improperly Controlled Modification of Dynamically-Determined Object Attributes in express-mock-middleware
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.
- Published
- 7 Apr 2020
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-1321CWE-915
- Also known as
- GHSA-v39h-qm32-8gwq
- Sources
- NVDJSONOSV GHSA-v39h-qm32-8gwqJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | express-mock-middleware_project | express-mock-middlewarecpe:2.3:a:express-mock-middleware_project:express-mock-middleware:*:*:*:*:*:*:*:* |
<= 0.0.6 | |
| OSV | npm | express-mock-middleware | <= 0.0.6 |
References
- https://github.com/LingyuCoder/express-mock-middleware/blob/master/lib/index.js#L39 · Third Party Advisory, WEB
- https://snyk.io/vuln/SNYK-JS-EXPRESSMOCKMIDDLEWARE-564120 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-7616 · ADVISORY
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 7 Apr 2020)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 9 Dec 2021)