cvedb.io
CVE-2026-34208
CRITICAL · CVSS 10
EPSS exploitation probability: 0%
Published 2026-04-06T16:16:34.580 · Last modified 2026-06-17T10:38:39.237

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.

Affected products

nyariv — sandboxjs

Does this affect you?

Add your gear to cvedb and we'll alert you only when nyariv ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.