NetSight
medium5.3

CVE-2020-7616

Improperly Controlled Modification of Dynamically-Determined Object Attributes in express-mock-middleware

Impact

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

EcosystemPackageAffectedFixed in
npmexpress-mock-middleware<= 0.0.6none recorded

Affected products

VendorProductAffected versions
Express-Mock-Middleware ProjectExpress-Mock-Middleware
through 0.0.6

Weakness classification

References