Improperly Controlled Modification of Dynamically-Determined Object Attributes Affecting org.webjars.npm:vm2 package, versions [0,]


Severity

Recommended
0.0
critical
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 Learn

Learn about Improperly Controlled Modification of Dynamically-Determined Object Attributes vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGWEBJARSNPM-17111326
  • published1 Jun 2026
  • disclosed29 May 2026
  • creditq1uf3ngONEKEY

Introduced: 29 May 2026

NewCVE-2026-47209  (opens in a new tab)
CWE-915  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

org.webjars.npm:vm2 is a sandbox that can run untrusted code with whitelisted Node's built-in modules.

Affected versions of this package are vulnerable to Improperly Controlled Modification of Dynamically-Determined Object Attributes via the BaseHandler.set trap in lib/bridge.js. An attacker can mutate host-realm objects or install attacker-controlled hooks by writing through an inherited object or a forged Reflect.set receiver, causing sandbox-supplied values to be written to the wrapped host object instead of the intended receiver. This lets sandbox code pollute host-side properties on any embedder-exposed object, including dispatch slots used by host code, potentially leading to host-side code execution when the polluted property is later consumed.

CVSS Base Scores

version 4.0
version 3.1