mongoosemask@0.0.2 vulnerabilities

mongoosemask

Direct Vulnerabilities

Known vulnerabilities in the mongoosemask package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Arbitrary Code Injection

mongoosemask is an Express Middleware to filter out Mongoose model attributes.

Affected versions of the package are vulnerable to Arbitrary Code Injection due to unsafe use of the eval() function. Node.js provides the eval() function by default, and is used to translate strings into Javascript code. An attacker can craft a malicious payload to inject arbitrary commands.

How to fix Arbitrary Code Injection?

There is no fix version for mongoosemask.

*