Description
This script is vulnerable to PHP code injection.
PHP code injection is a vulnerability that allows an attacker to inject custom code into the server side scripting engine. This vulnerability occurs when an attacker can control
all or part of an input string that is fed into an eval() function call. Eval will execute the argument as code.
Remediation
Your script should properly sanitize user input.
References
Related Vulnerabilities
Symfony weak application secret
Apache Struts 2 ClassLoader manipulation and denial of service
XWiki Improper Control of Generation of Code ('Code Injection') Vulnerability (CVE-2023-29210)
Spring Data REST RCE via PATCH requests
WordPress Plugin Insert or Embed Articulate Content into WordPress Remote Code Execution (4.2997)