GHSA-v39h-qm32-8gwq
Dashboard / Vulnerabilities / GHSA-v39h-qm32-8gwq
Summary: Improperly Controlled Modification of Dynamically-Determined Object Attributes in express-mock-middleware
Details: 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.
References: https://nvd.nist.gov/vuln/detail/CVE-2020-7616, https://github.com/LingyuCoder/express-mock-middleware/blob/master/lib/index.js#L39, https://snyk.io/vuln/SNYK-JS-EXPRESSMOCKMIDDLEWARE-564120
Affected packages
Package
Name: express-mock-middleware
Purl: pkg:npm/express-mock-middleware
Affected ranges
Type: SEMVER
Events:
