{"id":"CVE-2022-25904","published":"2022-12-21T01:21:43Z","modified":"2025-04-16T14:42:09Z","title":"Prototype Pollution","vendor":null,"product":null,"tier":"tail","description":{"text":"All versions of package safe-eval are vulnerable to Prototype Pollution which allows an attacker to add or modify properties of the Object.prototype.Consolidate when using the function safeEval. This is because the function uses vm variable, leading an attacker to modify properties of the Object.prototype.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01263,"percentile":0.69686,"provenance":"source"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-SAFEEVAL-3175701","tags":[]},{"url":"https://github.com/hacksparrow/safe-eval/issues/26","tags":[]}],"priority":{"score":19.2,"factors":[{"name":"EPSS percentile","points":13.94},{"name":"CVSS severity","points":5.25}]},"affectedVersions":[{"vendor":"n/a","product":"safe-eval","versions":["< unspecified"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2025-04-16T14:41:46.672157Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"safe-eval","vulnerableRanges":["<=0.4.1"],"patched":[],"from":["GHSA-33vh-7x8q-mg35"],"provenance":"source"}],"euvd":{"id":"EUVD-2022-7480","exploited":false,"provenance":"source"}}