Property
Languagejavascript
Severitymedium
CWECWE-94: Improper Control of Generation of Code (‘Code Injection’)
OWASPA03:2021 - Injection
Confidence LevelMedium
Impact LevelMedium
Likelihood LevelMedium

Description#

User input from HTTP requests is being passed directly into vm2 for code execution without proper validation or sanitization. This allows untrusted data to influence what code is run inside the virtual machine.

Impact#

If exploited, attackers could execute arbitrary code within the vm2 sandbox, potentially bypassing sandbox restrictions, stealing sensitive data, escalating privileges, or disrupting service. This puts the entire application and its data at risk.