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

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

AILast updated: 04/14/2026, 16:10:00 UTC

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.

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/14/2026, 4:10:00 PM

Last updated: 5/21/2026, 9:37:30 PM

Views: 40

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