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.
References
Link Resource
https://github.com/nyariv/SandboxJS/security/advisories/GHSA-8pfc-jjgw-6g26 Exploit Mitigation Vendor Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:nyariv:sandboxjs:*:*:*:*:*:node.js:*:*

History

09 Apr 2026, 18:05

Type Values Removed Values Added
References () https://github.com/nyariv/SandboxJS/security/advisories/GHSA-8pfc-jjgw-6g26 - () https://github.com/nyariv/SandboxJS/security/advisories/GHSA-8pfc-jjgw-6g26 - Exploit, Mitigation, Vendor Advisory
CPE cpe:2.3:a:nyariv:sandboxjs:*:*:*:*:*:node.js:*:*
First Time Nyariv sandboxjs
Nyariv

07 Apr 2026, 15:17

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5

06 Apr 2026, 16:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-06 16:16

Updated : 2026-04-09 18:05


NVD link : CVE-2026-34211

Mitre link : CVE-2026-34211

CVE.ORG link : CVE-2026-34211


JSON object : View

Products Affected

nyariv

  • sandboxjs
CWE
CWE-674

Uncontrolled Recursion