Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-34211: CWE-674: Uncontrolled Recursion in nyariv SandboxJS

0
Medium
VulnerabilityCVE-2026-34211cvecve-2026-34211cwe-674
Published: Mon Apr 06 2026 (04/06/2026, 15:10:42 UTC)
Source: CVE Database V5
Vendor/Project: nyariv
Product: SandboxJS

Description

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/06/2026, 15:46:42 UTC

Technical Analysis

The vulnerability in SandboxJS versions before 0.8.36 arises from unbounded recursion in the parser functions restOfExp and lispify/lispifyExpr. When parsing deeply nested expressions (e.g., around 2000 nested parentheses), the recursion depth exceeds the JavaScript engine's call stack limit, causing a RangeError and crashing the Node.js process. This can be exploited by an attacker providing untrusted input to cause denial of service. The fix is implemented in version 0.8.36.

Potential Impact

An attacker can cause a denial of service by crashing any Node.js process that uses the vulnerable SandboxJS parser with crafted deeply nested input. This leads to process termination due to a RangeError: Maximum call stack size exceeded. There is no indication of code execution or data breach from this vulnerability.

Mitigation Recommendations

Upgrade SandboxJS to version 0.8.36 or later, where this uncontrolled recursion issue is fixed. No other mitigation is indicated or required.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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/6/2026, 3:46:42 PM

Last updated: 4/7/2026, 7:02:32 AM

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses