The safe-eval module describes itself as a safer version of eval. By accessing the object constructors, un-sanitized user input can access the entire standard library and effectively break out of the sandbox.
10CVSS
9.3AI Score
0.003EPSS
This affects all versions of package safe-eval. It is possible for an attacker to run an arbitrary command on the host machine.
9.8CVSS
9.5AI Score
0.008EPSS
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.pr...
9.8CVSS
9.4AI Score
0.003EPSS
All versions of the package safe-eval are vulnerable to Prototype Pollution via the safeEval function, due to improper sanitization of its parameter content.
10CVSS
9.4AI Score
0.002EPSS
All versions of the package safe-eval are vulnerable to Sandbox Bypass due to improper input sanitization. The vulnerability is derived from prototype pollution exploitation.Exploiting this vulnerability might result in remote code execution ("RCE"). Vulnerable functions: defineGetter , stack(), to...
10CVSS
9.7AI Score
0.011EPSS