Headline
GHSA-33vh-7x8q-mg35: safe-eval vulnerable to Prototype Pollution
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.
safe-eval vulnerable to Prototype Pollution
High severity GitHub Reviewed Published Dec 20, 2022 • Updated Dec 20, 2022
Related news
CVE-2022-25904: Prototype pollution in function safeEval in the file index.js · Issue #26 · hacksparrow/safe-eval
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.