{"id":"CVE-2026-34208","published":"2026-04-06T15:09:28Z","modified":"2026-04-06T18:39:14Z","title":"SandboxJS: Sandbox integrity escape","vendor":"nyariv","product":"SandboxJS","tier":"tail","description":{"text":"SandboxJS is a JavaScript sandboxing library. Prior to 0.8.36, SandboxJS blocks direct assignment to global objects (for example Math.random = ...), but this protection can be bypassed through an exposed callable constructor path: this.constructor.call(target, attackerObject). Because this.constructor resolves to the internal SandboxGlobal function and Function.prototype.call is allowed, attacker code can write arbitrary properties into host global objects and persist those mutations across sandbox instances in the same process. This vulnerability is fixed in 0.8.36.","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:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00594,"percentile":0.49328,"provenance":"source"},"cwes":[{"id":"CWE-693","name":"Protection Mechanism Failure"},{"id":"CWE-915","name":"Improperly Controlled Modification of Dynamically-Determined Object Attributes"}],"references":[{"url":"https://github.com/nyariv/SandboxJS/security/advisories/GHSA-2gg9-6p7w-6cpj","tags":["x_refsource_CONFIRM"]}],"priority":{"score":16.9,"factors":[{"name":"EPSS percentile","points":9.87},{"name":"CVSS severity","points":7.0}]},"vendorSlug":"nyariv","affectedVersions":[{"vendor":"nyariv","product":"SandboxJS","versions":["< 0.8.36"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-04-06T18:39:04.774704Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@nyariv/sandboxjs","vulnerableRanges":["<0.8.36"],"patched":["0.8.36"],"from":["GHSA-2gg9-6p7w-6cpj"],"provenance":"source"}],"summary":{"text":"SandboxJS, a JavaScript sandboxing library by nyariv, contains an integrity escape in its sandbox global-object protection, which blocks direct assignment to host globals but can be bypassed through an exposed callable constructor path. An attacker who can get code executed inside the sandbox, with no authentication or user interaction required and reachable over the network, can write arbitrary properties into host global objects, and those changes persist across sandbox instances in the same process.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:47:56Z"},"euvd":{"id":"EUVD-2026-19297","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-25881","published":"2026-02-09","fixed":"0.8.31","kev":false},{"cve":"CVE-2026-26954","published":"2026-03-13","fixed":"0.8.34","kev":false},{"cve":"CVE-2026-32723","published":"2026-03-18","fixed":"0.8.35","kev":false,"link":{"from":"CVE-2026-32723","to":"CVE-2026-34208","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@nyariv/sandboxjs","fromFixed":"0.8.35","toFixed":"0.8.36","daysApart":19}]}},{"cve":"CVE-2026-34208","published":"2026-04-06","fixed":"0.8.36","kev":false},{"cve":"CVE-2026-34211","published":"2026-04-06","fixed":"0.8.36","kev":false},{"cve":"CVE-2026-34217","published":"2026-04-06","fixed":"0.8.36","kev":false},{"cve":"CVE-2026-43898","published":"2026-05-28","fixed":"0.9.6","kev":false}],"package":"npm:@nyariv/sandboxjs"}}