{"id":"CVE-2019-10759","aliases":["CVE-2019-10759","GHSA-r3x4-wr4h-pw33","SNYK-JS-SAFEREVAL-173772"],"related":[],"kind":"vulnerability","state":"published","title":"Sandbox Breakout / Arbitrary Code Execution in safer-eval","summary":"safer-eval before 1.3.4 are vulnerable to Arbitrary Code Execution. A payload using constructor properties can escape the sandbox and execute arbitrary code.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"safer-eval before 1.3.4 are vulnerable to Arbitrary Code Execution. A payload using constructor properties can escape the sandbox and execute arbitrary code.","source":"cvelist"},{"lang":"en","text":"Versions of `safer-eval` prior to 1.3.4 are vulnerable to Sandbox Escape leading to Remote Code Execution. A payload using constructor properties can escape the sandbox and execute arbitrary code. For example, evaluating he string `console.constructor.constructor('return process')().env` prints `process.env` to the console.\n\n\n## Recommendation\n\nUpgrade to version 1.3.4 or later.","format":"markdown","source":"ghsa"},{"lang":"es","text":"safer-eval versiones anteriores a 1.3.4, son vulnerables a la ejecución de código arbitrario. Una carga útil que usa propiedades de constructor puede escapar del sandbox y ejecutar código arbitrario.","source":"nvd"}],"published":"2019-10-15T14:47:19.000Z","modified":"2026-09-10T03:48:27.545Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":9.9,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":9.9,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":9.9,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"version":"All versions prior to version 1.3.4","status":"affected"}],"vendor":"Snyk","product":"safer-eval","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.3.4"}],"ecosystem":"npm","package":"safer-eval","purl":"pkg:npm/safer-eval","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.3.4"}],"vendor":"safer-eval_project","product":"safer-eval","cpe":"cpe:2.3:a:safer-eval_project:safer-eval:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-SAFEREVAL-173772","tags":["exploit","patch","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10759","tags":["advisory"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/advisories/1021","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2019-10759","url":"https://www.cve.org/CVERecord?id=CVE-2019-10759","licence":"CVE Terms of Use","modified":"2024-08-04T22:32:01.921Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-r3x4-wr4h-pw33","url":"https://github.com/advisories/GHSA-r3x4-wr4h-pw33","licence":"CC-BY-4.0","modified":"2026-09-10T03:48:27.545Z"},{"source":"nvd","name":"NVD","id":"CVE-2019-10759","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10759","licence":"Public domain","modified":"2026-06-17T02:11:37.100Z"}],"updatedAt":"2026-11-25T22:57:47.479Z","epss":{"score":0.01787,"percentile":0.78972,"date":"2026-12-01T12:00:22.000Z"}}