{"id":"CVE-2022-25893","details":"The package vm2 before 3.9.10 are 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.","aliases":["GHSA-4w2j-2rg4-5mjw"],"modified":"2026-03-15T22:43:59.888857Z","published":"2022-12-21T05:15:11.220Z","references":[{"type":"REPORT","url":"https://github.com/patriksimek/vm2/issues/444"},{"type":"FIX","url":"https://github.com/patriksimek/vm2/pull/445/commits/3a9876482be487b78a90ac459675da7f83f46d69"},{"type":"FIX","url":"https://security.snyk.io/vuln/SNYK-JS-VM2-2990237"},{"type":"FIX","url":"https://github.com/patriksimek/vm2/pull/445"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/patriksimek/vm2","events":[{"introduced":"0"},{"fixed":"6fcb7079c2a7673f3682f590df07417b1f4991fe"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"3.9.10"}]}}],"versions":["3.9.3","3.9.4","3.9.5","3.9.6","3.9.7","3.9.8","3.9.9","v3.9.0","v3.9.1","v3.9.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-25893.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}