CVE-2020-7679
Improperly Controlled Modification of Dynamically-Determined Object Attributes in casperjs
7.3
HIGH
CVSS 3.1
EPSS 0.77%
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 ```js var payload = JSON.parse('{"__proto__": {"a": "pwned"}}'); mergeObjects({}, payload); console.log({}.a); // prints "pwned" ```
How to fix CVE-2020-7679
No fixed version has been published yet. Mitigate by removing the affected package or applying upstream guidance from the references below.
- —no fix listed
Is CVE-2020-7679 being exploited?
Low — EPSS is 0.8%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, <= 1.1.4
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |