All intelligence
// vulnerability record
cached · NVD via COSMOS syncCVE-2026-34208
CRITICALpublished 2026-04-06 16:16 UTC · 4 months ago · modified 2026-06-17 10:38 UTC
10.0
CVSS / 10
// 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.
// weaknesses (CWE)
- CWE-693
- CWE-915