CVE-2026-34208CWE-693CWE-915

SandboxJS: Sandbox integrity escape

Critical · published April 6, 2026

CVSS v3.1
10.0
EPSS
1%
Percentile
48.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
10.0 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L
CVSS v4.0
Not supplied
EPSS
0.00604 · 48.3th percentile
Weaknesses
CWE-693 · Protection Mechanism Failure; CWE-915 · Improperly Controlled Modification of Dynamically-Determined Object Attributes
Published
2026-04-06T15:09Z
EPSS history
Timeline
  • 06 APR 15:09Z
    SandboxJS: Sandbox integrity escape
    cvelistv5