Skip to content
OpenAdvisories
Critical · 10.0 CVE-2026-26954 EUVD-2026-12043GHSA-6r9f-759j-hjgv

SandboxJS has a Sandbox Escape

Published Mar 13, 2026 · Updated Mar 16, 2026 · Assigned by GitHub_M

Description

SandboxJS is a JavaScript sandboxing library. Prior to 0.8.34, it is possible to obtain arrays containing Function, which allows escaping the sandbox. Given an array containing Function, and Object.fromEntries, it is possible to construct {[p]: Function} where p is any constructible property. This vulnerability is fixed in 0.8.34.

Affected products

VendorProductAffectedFixed
nyariv SandboxJS < 0.8.34 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @nyariv/sandboxjs < 0.8.34 0.8.34 GHSA-6r9f-759j-hjgv

References