Live threats

All CVEs / Express-mock-middleware Project

CVE-2020-7616Express-mock-middleware Project Express-mock-middleware

Medium 5.3 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Express-mock-middleware.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
express-mock-middleware_projectexpress-mock-middleware≤ 0.0.6

Official sources

References

Links published by the sources. Open them with care.