NetSight
critical10.0

CVE-2023-26122

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

Impact

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(), toLocaleString(), propertyIsEnumerable.call(), valueOf().

Affected packages

EcosystemPackageAffectedFixed in
npmsafe-eval<= 0.4.2none recorded

Affected products

VendorProductAffected versions
Safe-Eval ProjectSafe-Eval
through 0.4.1

Weakness classification

References