Description
This script is vulnerable to Email injection attacks.
Email injection is a security vulnerability that allows malicious users to send email messages using someone else's server without prior authorization. A malicious spammer could use this tactic to send large numbers of messages anonymously.
Remediation
You need to restrict CR(0x13) and LF(0x10) from the user input. Check references for more information about fixing this vulnerability.
References
Related Vulnerabilities
RubyGems Improper Input Validation Vulnerability (CVE-2017-0901)
Jenkins Improper Input Validation Vulnerability (CVE-2018-1000068)
phpMyAdmin Improper Input Validation Vulnerability (CVE-2011-2719)
MySQL Improper Input Validation Vulnerability (CVE-2006-4227)
SharePoint Improper Input Validation Vulnerability (CVE-2019-1295)