ZeroDay Brief
CVE-2016-10033 Exploited in the wild

PHPMailer Command Injection Vulnerability

CVSS
9.8Critical
Chance of exploitation (EPSS)
100%
Published
Dec 30, 2016
In the news
Not yet
Vendor advisory More from this vendor

What to do

A critical security flaw in Joomla, Phpmailer, WordPress that can be attacked over the network without logging in. Attackers are already using it, so treat it as urgent.

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.

US federal agencies must fix this by Jul 28, 2025 (past due).

Description

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.

CWE-88

Affected products

Get alerts for these →

Timeline 3

Latest change: googlesky/CVE-2016-10033: PHPMailer isMail transport injects mail() arguments through Sender. Fixed in 5.2.18. Differential: arguments injected on vuln, refused on fixed (Nov 26, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

Exploit code

Visit at your own risk. These are third-party sites we find automatically. We do not test, review or vouch for them, and fake proof-of-concept repositories sometimes contain malware.

References 40

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”