CVE-2016-10033: PHPMailer Command Injection Vulnerability
CVE-2016-10033 is a critical-severity flaw (CVSS 9.8) affecting phpmailer, wordpress, joomla\!, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Critical severity
- EPSS top 1%: very likely to be exploited
- Exploited in the wild (CISA KEV)
- Public exploit reference
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 99.7% (top 1%) |
| CISA exploited list | Yes, fix due 2025-07-28 |
| Weakness | CWE-88 |
| Published | 2016-12-30 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Exploited Added to the CISA Known Exploited Vulnerabilities list
- Deadline CISA due date for US federal agencies to patch
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Exploit-DB: WordPress Core 4.6 - Remote Code Execution
- Exploit-DB: Vanilla Forums < 2.3 - Remote Code Execution
- Exploit-DB: WordPress Plugin PHPMailer 4.6 - Host Header Command Injection (Metasploit)
- Exploit-DB: PHPMailer < 5.2.18 - Remote Code Execution
- Exploit-DB: PHPMailer < 5.2.18 - Remote Code Execution
- Exploit-DB: PHPMailer < 5.2.18 - Remote Code Execution
- Exploit-DB: PHPMailer < 5.2.20 - Remote Code Execution
- Exploit-DB: PHPMailer < 5.2.20 / SwiftMailer < 5.4.5-DEV / Zend Framework / zend-mail < 2.4.11 - 'AIO' 'PwnScriptum' Remote Code Exe
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2016-10033?
phpmailer: upgrade to 5.2.18; wordpress: upgrade to newer than 4.7; joomla\!: upgrade to newer than 3.6.5. Exact commands for each OS are on this page.
Is CVE-2016-10033 being exploited?
Yes. CVE-2016-10033 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.
What does CVE-2016-10033 affect?
CVE-2016-10033 affects phpmailer, wordpress, joomla\!. Severity is critical (CVSS 9.8). 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
How urgent is CVE-2016-10033?
Priority 97/100. Critical severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action
Software pages
WordPress vulnerabilities · Joomla vulnerabilities
Related CVEs
- CVE-2021-3603 HIGH 8.1 UPGRADE MITIGATE PHPMailer 6.4.1 and earlier contain a vulnerability that can result in untrusted code being called (if such co
- CVE-2021-34551 HIGH 8.1 UPGRADE MITIGATE PHPMailer before 6.5.0 on Windows allows remote code execution if lang_path is untrusted data and has a UNC pa
- CVE-2020-36326 CRITICAL 9.8 UPGRADE UPGRADE PHPMailer 6.1.8 through 6.4.0 allows object injection through Phar Deserialization via addAttachment with a UN
- CVE-2020-13625 HIGH 7.5 UPGRADE MITIGATE PHPMailer before 6.1.6 contains an output escaping bug when the name of a file attachment contains a double qu
- CVE-2018-19296 HIGH 8.8 UPGRADE MITIGATE PHPMailer before 5.2.27 and 6.x before 6.0.6 is vulnerable to an object injection attack.