Vulnerability in Nyariv Sandboxjs
CVE-2026-34211
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.004, 35.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Nyariv Sandboxjs — versions < 0.8.36
Weakness classification (CWE)
References
- https://github.com/nyariv/SandboxJS/security/advisories/GHSA-8pfc-jjgw-6g26 (Exploit, Mitigation, Vendor Advisory)