casperjs@1.1.0-beta3

A navigation scripting & testing utility for PhantomJS and SlimerJS

  • latest version

    1.1.4

  • first published

    12 years ago

  • latest version published

    8 years ago

  • licenses detected

  • Direct Vulnerabilities

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

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable 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.

    *