Vulnerability

CVE-2026-34208

criticalCVSS 3.1 10.0Published 6 Apr 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Nyariv sandboxjs

Weakness type

References

  • github.com /nyariv/SandboxJS/security/advisories/GHSA-2gg9-6p7w-6cpj

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning