Uncontrolled Recursion Affecting @nyariv/sandboxjs package, versions <0.8.36


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-NYARIVSANDBOXJS-15909754
  • published5 Apr 2026
  • disclosed3 Apr 2026
  • creditoffset

Introduced: 3 Apr 2026

NewCVE-2026-34211  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade @nyariv/sandboxjs to version 0.8.36 or higher.

Overview

@nyariv/sandboxjs is a Javascript sandboxing library.

Affected versions of this package are vulnerable to Uncontrolled Recursion via the restOfExp function and the recursive call chain involving lispify and lispifyExpr. An attacker can cause the process to crash by supplying deeply nested expressions that trigger unbounded recursion.

CVSS Base Scores

version 4.0
version 3.1