CVE-2026-34211: CWE-674: Uncontrolled Recursion in nyariv SandboxJS
CVE-2026-34211 is a medium severity vulnerability in the nyariv SandboxJS JavaScript sandboxing library versions prior to 0. 8. 36. It involves uncontrolled recursion in the parser's restOfExp function and the lispify/lispifyExpr call chain. An attacker can cause a Node. js process to crash by supplying deeply nested expressions, triggering a RangeError due to maximum call stack size exceeded. This results in denial of service by terminating the affected process. The issue is fixed in version 0. 8. 36.
AI Analysis
Technical Summary
SandboxJS versions before 0.8.36 contain an uncontrolled recursion vulnerability (CWE-674) in the parser component. Specifically, the restOfExp function and the lispify/lispifyExpr call chain do not properly limit recursion depth when parsing nested expressions. An attacker can exploit this by providing input with approximately 2000 nested parentheses, causing a stack overflow error (RangeError) that crashes the Node.js process using the library. This vulnerability leads to denial of service conditions. The fix was introduced in version 0.8.36.
Potential Impact
The vulnerability allows an attacker to crash any Node.js process that uses the vulnerable versions of SandboxJS by sending specially crafted deeply nested expressions. This results in a denial of service due to process termination from a stack overflow error. There is no indication of code execution or data compromise beyond process crash.
Mitigation Recommendations
Upgrade to SandboxJS version 0.8.36 or later, where this uncontrolled recursion vulnerability is fixed. Patch status is confirmed by the vendor's versioning information. No other mitigations are indicated.
CVE-2026-34211: CWE-674: Uncontrolled Recursion in nyariv SandboxJS
Description
CVE-2026-34211 is a medium severity vulnerability in the nyariv SandboxJS JavaScript sandboxing library versions prior to 0. 8. 36. It involves uncontrolled recursion in the parser's restOfExp function and the lispify/lispifyExpr call chain. An attacker can cause a Node. js process to crash by supplying deeply nested expressions, triggering a RangeError due to maximum call stack size exceeded. This results in denial of service by terminating the affected process. The issue is fixed in version 0. 8. 36.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
SandboxJS versions before 0.8.36 contain an uncontrolled recursion vulnerability (CWE-674) in the parser component. Specifically, the restOfExp function and the lispify/lispifyExpr call chain do not properly limit recursion depth when parsing nested expressions. An attacker can exploit this by providing input with approximately 2000 nested parentheses, causing a stack overflow error (RangeError) that crashes the Node.js process using the library. This vulnerability leads to denial of service conditions. The fix was introduced in version 0.8.36.
Potential Impact
The vulnerability allows an attacker to crash any Node.js process that uses the vulnerable versions of SandboxJS by sending specially crafted deeply nested expressions. This results in a denial of service due to process termination from a stack overflow error. There is no indication of code execution or data compromise beyond process crash.
Mitigation Recommendations
Upgrade to SandboxJS version 0.8.36 or later, where this uncontrolled recursion vulnerability is fixed. Patch status is confirmed by the vendor's versioning information. No other mitigations are indicated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-03-26T15:57:52.324Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69d3d1a00a160ebd92c130d6
Added to database: 4/6/2026, 3:30:40 PM
Last enriched: 4/14/2026, 4:10:00 PM
Last updated: 5/21/2026, 9:37:30 PM
Views: 40
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.