VDB
Sign up
MEDIUM5.3

GHSA-v39h-qm32-8gwq

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/express-mock-middleware
Introduced in: 0

No fixed version published yet for express-mock-middleware (npm). Pin to a known-safe version or switch to an alternative.

References