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