Improperly Controlled Modification of Dynamically-Determined Object Attributes Affecting @nyariv/sandboxjs package, versions <0.8.36


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

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-15909755
  • published5 Apr 2026
  • disclosed3 Apr 2026
  • creditfancymalware

Introduced: 3 Apr 2026

NewCVE-2026-34208  (opens in a new tab)
CWE-693  (opens in a new tab)
CWE-915  (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 Improperly Controlled Modification of Dynamically-Determined Object Attributes through the constructor process. An attacker can modify host global objects and persist these changes across sandbox instances by invoking the exposed constructor with attacker-controlled payloads. This allows the attacker to inject arbitrary properties into shared global objects, potentially leading to the execution of malicious code or alteration of application logic when these mutated properties are later used by the host application.

CVSS Base Scores

version 4.0
version 3.1