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.
https://nodesecurity.io/advisories/337
https://github.com/patriksimek/vm2/issues/59
https://github.com/hacksparrow/safe-eval/issues/5
Source: Mitre, NVD
Published: 2018-06-07
Updated: 2026-06-17
Base Score: 10
Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C
Severity: Critical
Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
EPSS: 0.03066