Welcome!

Unlock your personalized experience.
Sign Up
Tag

Code injection example Articles, Guides & Tutorials

1 posts

Which of the Following Best Describes Code Injection? With Prevention

Code injection is best described as an attack where untrusted input is inserted into code that the application then interprets and executes in its own language. If a PHP, Python or JavaScript app passes user input to functions such as eval, the attacker's text runs as program code with the app's privileges. MITRE calls this CWE-94, Improper Control of Generation of Code.