SandboxJS is a JavaScript sandboxing library. Prior to 0.8.36, the @nyariv/sandboxjs parser contains unbounded recursion in the restOfExp function and the lispify/lispifyExpr call chain. An attacker can crash any Node.js process that parses untrusted input by supplying deeply nested expressions (e.g., ~2000 nested parentheses), causing a RangeError: Maximum call stack size exceeded that terminates the process. This vulnerability is fixed in 0.8.36.
Fix
Patch, vendor advisory and mitigation references on NVD 1
- https://github.com/nyariv/SandboxJS/security/advisories/GHSA-8pfc-jjgw-6g26 Exploit, Mitigation, Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 6.9 · nyarivNVD modified 2026-10-26 22:10
Affected (CPE criteria) 1
cpe:2.3:a:nyariv:sandboxjs:*:*:*:*:*:node.js:*:*
References 1
- https://github.com/nyariv/SandboxJS/security/advisories/GHSA-8pfc-jjgw-6g26 Exploit, Mitigation, Vendor Advisory