Description
Manual confirmation is required for this alert.
This script is using the PHP function preg_replace() on user input. This is not recommended as it can lead to various vulnerabilities. Consult "Web references" for more information about this problem.
The e modifier makes preg_replace() treat the replacement parameter as PHP code after the appropriate references substitution is done. If the regex pattern and the replacement strings are controlled by the user this can conduct to PHP code execution.
Remediation
It is not recommended to use preg_replace() on user input.
References
Related Vulnerabilities
WordPress 3.7.x Denial of Service Vulnerability (3.7 - 3.7.25)
ThinkPHP v5.0.22/5.1.29 Remote Code Execution Vulnerability
Telerik Web UI Unrestricted File Upload (CVE-2014-2217)
WordPress Improper Input Validation Vulnerability (CVE-2013-2204)
Ruby on Rails Improper Input Validation Vulnerability (CVE-2016-0753)