Security mailing lists by PureSourceCode

CVE-2026-34208

CRITICAL 10.0CVSS 3.1

SandboxJS: Sandbox integrity escape

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.

Published
6 Apr 2026
Last modified
26 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-693CWE-915
Also known as
GHSA-2gg9-6p7w-6cpj
Sources
NVDJSONOSV GHSA-2gg9-6p7w-6cpjJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 CRITICAL 10.0 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 10.0 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 10.0 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD nyariv sandboxjs
cpe:2.3:a:nyariv:sandboxjs:*:*:*:*:*:node.js:*:*
< 0.8.36 0.8.36
OSV npm @nyariv/sandboxjs < 0.8.36 0.8.36

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 6 Apr 2026)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 3 Apr 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.