{"id":"CVE-2023-26122","details":"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.\rExploiting this vulnerability might result in remote code execution (\"RCE\").\r\r**Vulnerable functions:**\r\r__defineGetter__, stack(), toLocaleString(), propertyIsEnumerable.call(),  valueOf().","aliases":["GHSA-79xf-67r4-q2jj"],"modified":"2026-08-12T03:51:38.557700553Z","published":"2023-04-11T05:00:02.658Z","database_specific":{"cna_assigner":"snyk","cwe_ids":["CWE-265"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/26xxx/CVE-2023-26122.json","unresolved_ranges":[{"extracted_events":[{"fixed":"*"}],"source":"AFFECTED_FIELD"}]},"references":[{"type":"WEB","url":"https://gist.github.com/seongil-wi/2db6cb884e10137a93132b7f74879cce"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-SAFEEVAL-3373064"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/26xxx/CVE-2023-26122.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26122"},{"type":"REPORT","url":"https://github.com/hacksparrow/safe-eval/issues/27"},{"type":"REPORT","url":"https://github.com/hacksparrow/safe-eval/issues/31"},{"type":"REPORT","url":"https://github.com/hacksparrow/safe-eval/issues/32"},{"type":"REPORT","url":"https://github.com/hacksparrow/safe-eval/issues/33"},{"type":"REPORT","url":"https://github.com/hacksparrow/safe-eval/issues/34"},{"type":"REPORT","url":"https://github.com/hacksparrow/safe-eval/issues/35"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/hacksparrow/safe-eval","events":[{"introduced":"0"},{"last_affected":"e6c5dba9a8b3e151b012d5ed50e3a781592911ac"}],"database_specific":{"cpe":"cpe:2.3:a:safe-eval_project:safe-eval:*:*:*:*:*:node.js:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"0.4.1"}],"source":"CPE_RANGE"}}],"versions":["0.4.1","0.4.0","0.3.0","0.2.0","0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-26122.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P"}]}