All reports
Critical

vm2 vulnerable to Arbitrary Code Execution

Affected versions

npmvm2
Affected versions
< 3.9.10
Fixed version
3.9.10

Exploitation

CVE-2022-25893

Probability of exploitation in the next 30 days: 1.54%

FIRST EPSS · 2026-11-21

Description

The package vm2 before 3.9.10 is vulnerable to Arbitrary Code Execution due to the usage of prototype lookup for the WeakMap.prototype.set method. Exploiting this vulnerability leads to access to a host object and a sandbox compromise.

Links