Medium (6.9). EPSS 0.3% chance of exploitation in the next 30 days. Fixed in vm2 3.11.2.
vm2 versions before 3.11.2 fail to properly restrict access to the VM2_INTERNAL_STATE_DO_NOT_USE_OR_PROGRAM_WILL_FAIL global variable. Attackers can access this internal state object through globalThis to retrieve sensitive sandbox internals.