Every CVE Search/ Get API key

CVE-2020-7679

Prototype Pollution

7.3 High

In all versions of package casperjs, the mergeObjects utility function is susceptible to Prototype Pollution.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
Low

Exploit likelihood

2.01%Up 1.2 points since Apr 14, 2021
90%50%10%1%

What each source reports

CVE List Score used 7.3

Prototype Pollution

In all versions of package casperjs, the mergeObjects utility function is susceptible to Prototype Pollution.

Record
CVE-2020-7679
CVSS 3.1
7.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C
Updated
2026-11-02
EUVDEUVD-2021-1207 7.3

In all versions of package casperjs, the mergeObjects utility function is susceptible to Prototype Pollution.

Record
EUVD-2021-1207
CVSS 3.1
7.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C
Updated
2026-11-03
GitHub AdvisoriesGHSA-vrr3-5r3v-7xfw 7.3

Improperly Controlled Modification of Dynamically-Determined Object Attributes in casperjs

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"
Record
GHSA-vrr3-5r3v-7xfw
CVSS 3.1
7.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Weakness
CWE-915, CWE-1321
Updated
2026-11-02
NVD 7.3

In all versions of package casperjs, the mergeObjects utility function is susceptible to Prototype Pollution.

Record
CVE-2020-7679
CVSS 3.1
7.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-1321
Updated
2026-11-02
OSVGHSA-vrr3-5r3v-7xfw 7.3

Improperly Controlled Modification of Dynamically-Determined Object Attributes in casperjs

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"
Record
GHSA-vrr3-5r3v-7xfw
CVSS 3.1
7.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Weakness
CWE-1321, CWE-915
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
casperjs
npm
through 1.1.4 None known

History

History
RecordedChangedSources
aliases, publishedEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2020-7679 is a high vulnerability (CVSS 7.3) in Casperjs, published June 19, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.01%, the 80th percentile. No source names a fixed version.

References

MoveEnter Open