Ad

CVE-2026-34208

CRITICAL CVSS 3.1: 10.0 EPSS 0.18%
Updated Apr 09, 2026
Sandboxjs
Parameter Value
CVSS 10.0 (CRITICAL)
Affected Versions before 0.8.36
Fixed In 0.8.36
Type CWE-693, CWE-915
Vendor Sandboxjs
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Nyariv Sandboxjs
cpe:2.3:a:nyariv:sandboxjs:*:*:*:*:*:node.js:*:*
0.8.36