Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-34208
VULNERABILITY

CVE-2026-34208

Common Vulnerabilities and Exposures record

CRITICAL

Summary

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.

Risk

CVSS
10.0
Severity
CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L

Timeline

Published
Apr 6, 2026 16:16
Modified
Oct 26, 2026 22:10
Last observed
Oct 26, 2026 19:00

CWE

CWE-693CWE-915

Affected product identifiers

cpe:2.3:a:nyariv:sandboxjs:*:*:*:*:*:node.js:*:*

References