{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-26122","id":"CVE-2023-26122","title":"safe-eval vulnerable to Sandbox Bypass due to improper input sanitization","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.\rExploiting this vulnerability might result in remote code execution (\"RCE\").\r\r**Vulnerable functions:**\r\r__defineGetter__, stack(), toLocaleString(), propertyIsEnumerable.call(),  valueOf().","descriptionLong":"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().","published":"2023-04-11T05:00:02.658Z","updated":"2026-10-28T02:30:55.784981790Z","reserved":"2023-02-20T10:28:48.923Z","status":"Modified","rejected":false,"assigner":"snyk","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P","rating":"high","source":"snyk"},"metrics":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P","rating":"high","source":"snyk"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"snyk.io"},{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P","rating":"high","source":"OSV"},{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub"}],"rating":"high","products":["safe-eval"],"affectedProducts":[{"vendor":"n/a","product":"safe-eval","defaultStatus":null,"versions":[{"version":"0","lessThan":"*","status":"affected","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"safe-eval","purl":"pkg:npm/safe-eval","ranges":["<=0.4.2"],"fixed":[],"advisory":"GHSA-79xf-67r4-q2jj"}],"cwes":["CWE-265","CWE-1321"],"aliases":["GHSA-79xf-67r4-q2jj"],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-SAFEEVAL-3373064","tags":["x_transferred","Exploit","Issue Tracking","Third Party Advisory","web"]},{"url":"https://github.com/hacksparrow/safe-eval/issues/27","tags":["x_transferred","Exploit","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://gist.github.com/seongil-wi/2db6cb884e10137a93132b7f74879cce","tags":["x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://github.com/hacksparrow/safe-eval/issues/31","tags":["x_transferred","Exploit","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://github.com/hacksparrow/safe-eval/issues/32","tags":["x_transferred","Exploit","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://github.com/hacksparrow/safe-eval/issues/33","tags":["x_transferred","Exploit","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://github.com/hacksparrow/safe-eval/issues/34","tags":["x_transferred","Exploit","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://github.com/hacksparrow/safe-eval/issues/35","tags":["x_transferred","Exploit","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/26xxx/CVE-2023-26122.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26122","tags":["advisory"]},{"url":"https://github.com/hacksparrow/safe-eval","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.02101,"epssPercentile":0.82119,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-26122","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26122","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-26122","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-79xf-67r4-q2jj","ok":true,"note":"GHSA-79xf-67r4-q2jj"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-26122","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}