Phpmailer Project Phpmailer vulnerabilities
10 known vulnerabilities affecting phpmailer_project/phpmailer.
Total CVEs
10
CISA KEV
1
actively exploited
Public exploits
3
Exploited in wild
1
Severity breakdown
CRITICAL3HIGH4MEDIUM3
Vulnerabilities
Page 1 of 1
CVE-2021-3603HIGHCVSS 8.1≤ 6.4.12021-06-17
CVE-2021-3603 [HIGH] CWE-829 CVE-2021-3603: PHPMailer 6.4.1 and earlier contain a vulnerability that can result in untrusted code being called (
PHPMailer 6.4.1 and earlier contain a vulnerability that can result in untrusted code being called (if such code is injected into the host project's scope by other means). If the $patternselect parameter to validateAddress() is set to 'php' (the default, defined by PHPMailer::$validator), and the global namespace contains a function called php, it will
nvd
CVE-2021-34551HIGHCVSS 8.1fixed in 6.5.02021-06-16
CVE-2021-34551 [HIGH] CWE-434 CVE-2021-34551: PHPMailer before 6.5.0 on Windows allows remote code execution if lang_path is untrusted data and ha
PHPMailer before 6.5.0 on Windows allows remote code execution if lang_path is untrusted data and has a UNC pathname.
nvd
CVE-2020-36326CRITICALCVSS 9.8≥ 6.1.8, ≤ 6.4.02021-04-28
CVE-2020-36326 [CRITICAL] CVE-2020-36326: PHPMailer 6.1.8 through 6.4.0 allows object injection through Phar Deserialization via addAttachment
PHPMailer 6.1.8 through 6.4.0 allows object injection through Phar Deserialization via addAttachment with a UNC pathname. NOTE: this is similar to CVE-2018-19296, but arose because 6.1.8 fixed a functionality problem in which UNC pathnames were always considered unreadable by PHPMailer, even in safe contexts. As an unintended side effect, this fix elimina
nvd
CVE-2020-13625HIGHCVSS 7.5fixed in 6.1.62020-06-08
CVE-2020-13625 [HIGH] CWE-116 CVE-2020-13625: PHPMailer before 6.1.6 contains an output escaping bug when the name of a file attachment contains a
PHPMailer before 6.1.6 contains an output escaping bug when the name of a file attachment contains a double quote character. This can result in the file type being misinterpreted by the receiver or any mail relay processing the message.
nvd
CVE-2018-19296HIGHCVSS 8.8fixed in 5.2.27≥ 6.0.0, < 6.0.62018-11-16
CVE-2018-19296 [HIGH] CWE-502 CVE-2018-19296: PHPMailer before 5.2.27 and 6.x before 6.0.6 is vulnerable to an object injection attack.
PHPMailer before 5.2.27 and 6.x before 6.0.6 is vulnerable to an object injection attack.
nvd
CVE-2017-11503MEDIUMCVSS 6.1v5.2.232017-07-20
CVE-2017-11503 [MEDIUM] CWE-79 CVE-2017-11503: PHPMailer 5.2.23 has XSS in the "From Email Address" and "To Email Address" fields of code_generator
PHPMailer 5.2.23 has XSS in the "From Email Address" and "To Email Address" fields of code_generator.php.
nvd
CVE-2017-5223MEDIUMCVSS 5.5PoC≤ 5.2.212017-01-16
CVE-2017-5223 [MEDIUM] CWE-200 CVE-2017-5223: An issue was discovered in PHPMailer before 5.2.22. PHPMailer's msgHTML method applies transformatio
An issue was discovered in PHPMailer before 5.2.22. PHPMailer's msgHTML method applies transformations to an HTML document to make it usable as an email message body. One of the transformations is to convert relative image URLs into attachments using a script-provided base directory. If no base directory is provided, it resolves to /, meaning that rel
nvd
CVE-2016-10033CRITICALCVSS 9.8KEVPoCfixed in 5.2.182016-12-30
CVE-2016-10033 [CRITICAL] CWE-88 CVE-2016-10033: The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attacker
The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra parameters to the mail command and consequently execute arbitrary code via a \" (backslash double quote) in a crafted Sender property.
nvd
CVE-2016-10045CRITICALCVSS 9.8PoCfixed in 5.2.202016-12-30
CVE-2016-10045 [CRITICAL] CVE-2016-10045: The isMail transport in PHPMailer before 5.2.20 might allow remote attackers to pass extra parameter
The isMail transport in PHPMailer before 5.2.20 might allow remote attackers to pass extra parameters to the mail command and consequently execute arbitrary code by leveraging improper interaction between the escapeshellarg function and internal escaping performed in the mail function in PHP. NOTE: this vulnerability exists because of an incorrect fix for
nvd
CVE-2015-8476MEDIUMCVSS 5.0≤ 5.2.132015-12-16
CVE-2015-8476 [MEDIUM] CVE-2015-8476: Multiple CRLF injection vulnerabilities in PHPMailer before 5.2.14 allow attackers to inject arbitra
Multiple CRLF injection vulnerabilities in PHPMailer before 5.2.14 allow attackers to inject arbitrary SMTP commands via CRLF sequences in an (1) email address to the validateAddress function in class.phpmailer.php or (2) SMTP command to the sendCommand function in class.smtp.php, a different vulnerability than CVE-2012-0796.
nvd