{"id":"CVE-2019-10759","aliases":["EUVD-2019-0712","GHSA-r3x4-wr4h-pw33","SNYK-JS-SAFEREVAL-173772"],"status":"published","title":"Sandbox Breakout / Arbitrary Code Execution in safer-eval","description":"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.","severity":{"version":"3.1","score":9.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01787,"percentile":0.78481,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-94"],"published":"2019-10-15T14:47:19Z","modified":"2026-10-24T10:31:02Z","fixes":[{"ecosystem":"npm","package":"safer-eval","fixed_in":["1.3.4"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"safer-eval","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.4"}]}]},{"source":"osv","ecosystem":"npm","package":"safer-eval","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.3.4"}]}]}],"products":[{"vendor":"safer-eval_project","product":"safer-eval"},{"vendor":"snyk","product":"safer-eval"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-SAFEREVAL-173772","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10759","tags":["advisory"]},{"url":"https://www.npmjs.com/advisories/1021","tags":["web"]},{"url":"https://github.com/advisories/GHSA-r3x4-wr4h-pw33"}],"sources":{"cve":[{"id":"CVE-2019-10759","description":"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.","status":"published","published":"2019-10-15T14:47:19Z","modified":"2024-08-04T22:32:01.921Z","updated_at":"2026-11-02T14:20:18.746972Z"}],"euvd":[{"id":"EUVD-2019-0712","description":"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.","status":"published","published":"2019-10-15T14:47:19Z","modified":"2024-08-04T22:32:01Z","updated_at":"2026-11-03T02:40:51.633398Z"}],"ghsa":[{"id":"GHSA-r3x4-wr4h-pw33","title":"Sandbox Breakout / Arbitrary Code Execution in safer-eval","description":"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.","status":"published","published":"2019-10-21T21:58:34Z","modified":"2023-02-01T05:02:41Z","cvss":[{"version":"3.1","score":9.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:36:31.364752Z"}],"nvd":[{"id":"CVE-2019-10759","description":"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.","status":"published","published":"2019-10-15T15:15:11.12Z","modified":"2026-06-17T02:11:37.1Z","cvss":[{"version":"3.1","score":9.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:05:31.860711Z"}],"osv":[{"id":"CVE-2019-10759","description":"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.","status":"published","published":"2019-10-15T15:15:11.12Z","modified":"2026-10-24T10:31:02.032410252Z","cvss":[{"version":"3.1","score":9.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:10.383287Z"},{"id":"GHSA-r3x4-wr4h-pw33","title":"Sandbox Breakout / Arbitrary Code Execution in safer-eval","description":"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.","status":"published","published":"2019-10-21T21:58:34Z","modified":"2026-09-10T03:48:27.545287374Z","cvss":[{"version":"3.1","score":9.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T15:46:55.122811Z"}]}}
