Skip to content

CVE-2022-25904 Prototype Pollution

CriticalCVSS 9.8 EPSS 0.94%
Published
Updated
Exploit status
No public exploit known

Description

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

ProductAffected versionsFixed in
npm safe-eval(npm) <= 0.4.1 No fix listed
safe-eval project safe-eval <= 0.4.1 No fix listed

References