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.
References
| Link | Resource |
|---|---|
| https://github.com/nyariv/SandboxJS/security/advisories/GHSA-6r9f-759j-hjgv | Vendor Advisory Exploit |
| https://github.com/nyariv/SandboxJS/security/advisories/GHSA-6r9f-759j-hjgv | Vendor Advisory Exploit |
Configurations
History
No history.
Information
Published : 2026-03-13 19:54
Updated : 2026-03-17 20:13
NVD link : CVE-2026-26954
Mitre link : CVE-2026-26954
CVE.ORG link : CVE-2026-26954
JSON object : View
Products Affected
nyariv
- sandboxjs
CWE
CWE-94
Improper Control of Generation of Code ('Code Injection')
