PHPMailer mail function command injection via Sender property
CVE-2016-10033Known exploitedCritical
PHPMailer fails to sanitise user-supplied input in the Sender property when using the isMail transport. An attacker can inject a backslash and double quote character into the Sender property to pass extra parameters to the mail command. This allows execution of arbitrary code in the context of the application, or causes a denial-of-service condition if the exploit fails.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
- Added to KEV
- 7 Jul 2025
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Detail
PHP PHPMailer. CISA required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Weakness: CWE-88 (opens in a new tab)
Affected versions
- phpmailer project phpmailer: before 5.2.18
- wordpress wordpress: up to 4.7
- joomla joomla\!: from 1.5.0, up to 3.6.5