CVE-2026-34208
Last modified
CVE-2026-34208 is a critical-severity vulnerability rated 10/10 on the CVSS scale. 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). EPSS estimates a 0.56% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Nyariv | Sandboxjs | < 0.8.36 |
References
- https://github.com/nyariv/SandboxJS/security/advisories/GHSA-2gg9-6p7w-6cpjExploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-34208?
How severe is CVE-2026-34208?
How do I fix CVE-2026-34208?
Are you affected by CVE-2026-34208?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
