Skip to content
OpenAdvisories

Package · npm

safe-eval

6 known vulnerabilities.

5 results · Clear filters · Feed

  • High 8.8

    safe-eval vulnerable to Sandbox Bypass due to improper input sanitization

    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"). **Vulne…

  • High 7.5

    safe-eval vulnerable to Prototype Pollution via the safeEval function

    All versions of the package safe-eval are vulnerable to Prototype Pollution via the safeEval function, due to improper sanitization of its parameter content.

  • High 7.5

    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 attack…

  • High —

    Sandbox Breakout / Arbitrary Code Execution in safe-eval

    All versions of `safe-eval` are vulnerable to Sandbox Escape leading to Remote Code Execution. A payload chaining a function's callee and caller constructors can escape the sandbox and execute arbitrary code. For example, the payload ``` ((() => { const targe…

  • High 8.1

    Sandbox Escape

    This affects all versions of package safe-eval. It is possible for an attacker to run an arbitrary command on the host machine.