{"id":"CVE-2025-34146","published":"2025-07-31T14:59:35Z","modified":"2026-10-08T15:21:18Z","title":"nyariv sandboxjs 0.8.23 Prototype Pollution Sandbox Escape DoS","vendor":"nyariv","product":"sandboxjs","tier":"tail","description":{"text":"A prototype pollution vulnerability exists in @nyariv/sandboxjs versions <= 0.8.23, allowing attackers to inject arbitrary properties into Object.prototype via crafted JavaScript code. This can result in a denial-of-service (DoS) condition or, under certain conditions, escape the sandboxed environment intended to restrict code execution. The vulnerability stems from insufficient prototype access checks in the sandbox’s executor logic, particularly in the handling of JavaScript function objects returned.","provenance":"source","from":"CVE.org"},"cvss":{"score":7,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00245,"percentile":0.16053,"provenance":"source"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"references":[{"url":"https://gist.github.com/Hagrid29/9df27829a491080f923c4f6b8518d7e3","tags":["issue-tracking","exploit"]},{"url":"https://github.com/nyariv/SandboxJS/issues/31","tags":["issue-tracking"]},{"url":"https://www.npmjs.com/package/@nyariv/sandboxjs","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/nyariv-sandboxjs-prototype-pollution-sandbox-escape-dos","tags":["third-party-advisory"]}],"priority":{"score":13.1,"factors":[{"name":"EPSS percentile","points":3.21},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.9}]},"vendorSlug":"nyariv","affectedVersions":[{"vendor":"nyariv","product":"sandboxjs","versions":["<= 0.8.23"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-07-31T20:06:42.380992Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@nyariv/sandboxjs","vulnerableRanges":["<0.8.24"],"patched":["0.8.24"],"from":["GHSA-9qm3-6qrr-c76m"],"provenance":"source"}],"summary":{"text":"The nyariv sandboxjs library (@nyariv/sandboxjs, versions up to and including 0.8.23) contains a prototype pollution flaw in its executor logic, where insufficient prototype access checks are applied to JavaScript function objects it returns. An attacker who can get crafted JavaScript code run inside the sandbox, with no authentication or user interaction and local access as the attack path, can inject arbitrary properties into Object.prototype, which can cause a denial of service or, under certain conditions, escape the sandbox.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:46:18Z"},"euvd":{"id":"EUVD-2025-23278","exploited":false,"provenance":"source"},"exploitRefs":["https://gist.github.com/Hagrid29/9df27829a491080f923c4f6b8518d7e3"],"lineage":{"packageHistory":[{"cve":"CVE-2025-34146","published":"2025-07-31","fixed":"0.8.24","kev":false},{"cve":"CVE-2026-23830","published":"2026-01-27","fixed":"0.8.26","kev":false,"link":{"from":"CVE-2025-34146","to":"CVE-2026-23830","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@nyariv/sandboxjs","fromFixed":"0.8.24","toFixed":"0.8.26","daysApart":180}]}},{"cve":"CVE-2026-25142","published":"2026-02-02","fixed":"0.8.27","kev":false},{"cve":"CVE-2026-25520","published":"2026-02-06","fixed":"0.8.29","kev":false}],"package":"npm:@nyariv/sandboxjs"}}