All CVEs / Express-mock-middleware Project
CVE-2020-7616Express-mock-middleware Project Express-mock-middleware
Medium 5.3 No auth needed
Follow: this CVE · Express-mock-middleware Project · Express-mock-middleware Project Express-mock-middleware We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 1.3% probability of exploitation in 30 days · percentile 70
- Auth required
- No
- Published
- Apr 7, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1321
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Express-mock-middleware.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | express-mock-middleware |
≤ 0.0.6 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-v39h-qm32-8gwq). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| express-mock-middleware_project | express-mock-middleware | ≤ 0.0.6 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory
- snyk.io Exploit Third Party Advisory