{"id":"CVE-2026-25520","published":"2026-02-06T19:53:24Z","modified":"2026-02-06T20:18:08Z","title":"SandboxJS has a Sandbox Escape","vendor":"nyariv","product":"SandboxJS","tier":"tail","description":{"text":"SandboxJS is a JavaScript sandboxing library. Prior to 0.8.29, The return values of functions aren't wrapped. Object.values/Object.entries can be used to get an Array containing the host's Function constructor, by using Array.prototype.at you can obtain the hosts Function constructor, which can be used to execute arbitrary code outside of the sandbox. This vulnerability is fixed in 0.8.29.","provenance":"source","from":"CVE.org"},"cvss":{"score":10,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00949,"percentile":0.59715,"provenance":"source"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"references":[{"url":"https://github.com/nyariv/SandboxJS/security/advisories/GHSA-58jh-xv4v-pcx4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nyariv/SandboxJS/commit/67cb186c41c78c51464f70405504e8ef0a6e43c3","tags":["x_refsource_MISC"]}],"priority":{"score":18.9,"factors":[{"name":"EPSS percentile","points":11.94},{"name":"CVSS severity","points":7.0}]},"vendorSlug":"nyariv","affectedVersions":[{"vendor":"nyariv","product":"SandboxJS","versions":["< 0.8.29"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-02-06T20:18:04.826466Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@nyariv/sandboxjs","vulnerableRanges":["<0.8.29"],"patched":["0.8.29"],"from":["GHSA-58jh-xv4v-pcx4"],"provenance":"source"}],"summary":{"text":"SandboxJS, a JavaScript sandboxing library from nyariv, has a sandbox escape flaw in how it handles function return values, which are not wrapped, so host objects can leak into the sandbox. An attacker who can get code executed inside the sandbox, with no authentication or user interaction required and reachable over the network, can use Object.values or Object.entries and Array.prototype.at to obtain the host's Function constructor and run arbitrary code outside the sandbox.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:16:34Z"},"euvd":{"id":"EUVD-2026-5591","exploited":false,"provenance":"source"}}