Critical severity10.0NVD Advisory· Published Apr 6, 2026· Updated Apr 9, 2026
CVE-2026-34208
CVE-2026-34208
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
@nyariv/sandboxjsnpm | < 0.8.36 | 0.8.36 |
Affected products
2Patches
Vulnerability mechanics
References
3- github.com/nyariv/SandboxJS/security/advisories/GHSA-2gg9-6p7w-6cpjnvdExploitVendor AdvisoryWEB
- github.com/advisories/GHSA-2gg9-6p7w-6cpjghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-34208ghsaADVISORY
News mentions
0No linked articles in our index yet.