Dangerous Functions
Insecure Functions
Eval()
JavaScript (XSS possibility)
eval("alert(document.domain)") // execute JS code from a String formPHP (RCE possibility)
eval("echo 2+2;"); // execute PHP code from a String form
eval("echo exec('touch /tmp/EVAL_RCE');") // RCE
// Other dangerous functions
exec(), passthru(), system(), or shell_exec(). Python
Java
Node.js
Last updated