VulnerabilityAnalyzed
CVE-2026-26954
Prior to 0.8.34, it is possible to obtain arrays containing Function, which allows escaping the sandbox.
CRITICAL 10.0EPSS 0.55%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.55%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 10.0 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- EPSS
- 0.55% probability · 44th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-94
- Affected
- nyariv/sandboxjs
- Source
- security-advisories@github.com
References
- https://github.com/nyariv/SandboxJS/security/advisories/GHSA-6r9f-759j-hjgvExploit, Vendor Advisory
- https://github.com/nyariv/SandboxJS/security/advisories/GHSA-6r9f-759j-hjgvExploit, Vendor Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.