Property
Languagepython
Severityhigh
CWECWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code (‘Eval Injection’)
OWASPA03:2021 - Injection
Confidence LevelMedium
Impact LevelHigh
Likelihood LevelMedium

Description#

User-supplied data is being passed directly to Python’s ’eval’ function. This allows attackers to inject and execute arbitrary code on your server if they control the input.

Impact#

If exploited, an attacker could run any Python code on your system, potentially leading to data theft, server takeover, or complete compromise of your application and its underlying infrastructure.