CVE-2026-26954
SandboxJS affected by a Sandbox Escape
Severity by source
Trivy's own label is CRITICAL. Rated critical by GHSA.
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 packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| npm::GitHub Security Advisory npm | @nyariv/sandboxjs | 0.8.34 |