CVE-2023-26122

critical

Description

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().

References

https://security.snyk.io/vuln/SNYK-JS-SAFEEVAL-3373064

https://github.com/hacksparrow/safe-eval/issues/35

https://github.com/hacksparrow/safe-eval/issues/34

https://github.com/hacksparrow/safe-eval/issues/33

https://github.com/hacksparrow/safe-eval/issues/32

https://github.com/hacksparrow/safe-eval/issues/31

https://github.com/hacksparrow/safe-eval/issues/27

https://gist.github.com/seongil-wi/2db6cb884e10137a93132b7f74879cce

Details

Source: Mitre, NVD

Published: 2023-04-11

Updated: 2026-06-17

Risk Information

CVSS v2

Base Score: 10

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

Severity: Critical

CVSS v3

Base Score: 10

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Severity: Critical

EPSS

EPSS: 0.04851