CVE-2022-25904: Safe-Eval Project Safe-Eval
Critical severity, CVSS 9.8. EPSS: 0.9% chance of exploitation in the next 30 days.
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.
Affected products
- Safe-Eval Project Safe-Eval: up to and including 0.4.1
Published 2022-12-20. Last modified 2026-06-17.