Vulnerability · Published Apr 7, 2020 · Assigned by snyk

CVE-2020-7616

Medium 5.3

In plain English

A medium-severity security flaw in express-mock-middleware. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 70% of all known vulnerabilities).

Severity (CVSS NVD)5.3Medium
Exploit odds (30 days)1.3%top 30.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
npmexpress-mock-middlewareno fix listedGHSA-v39h-qm32-8gwq

Affected products (as reported)

VendorProductVersions
n/a express-mock-middleware All versions including 0.0.6

References