protojs@0.2.0 vulnerabilities

ES5 object manipulation library for node and modern browsers

Direct Vulnerabilities

Known vulnerabilities in the protojs 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

protojs is a ES5-compatible object manipulation library for node and modern browsers.

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?

Upgrade protojs to version 1.0.6 or higher.

<1.0.6