SecurityContext

CVE-2016-10033: WordPress PHPMailer - Remote Code Execution

  • Cve: CVE-2016-10033
  • Name: WordPress PHPMailer - Remote Code Execution
  • 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.
  • Impact: Attackers can execute arbitrary code on the server by sending a malicious email, leading to full system compromise.
  • Remediation: Update to PHPMailer version 5.2.18 or later.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.99714
  • Epss percentile: 0.99952
  • Assignee: [email protected]
  • Published at: 2016-12-30T19:59:00Z
  • Age in days: 3616
  • Modified at: 2026-06-17T00:38:55Z
  • Patch available: yes
  • Public exploits total: 48
  • References total: 24
  • Products total: 3
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2016-10033
  • Nvd status: analyzed
  • Checked, none or zero: public exploits capped, rejected by nvd
  • Not known: requirements

Cwe

IdName
CWE-88Improper Neutralization of Argument Delimiters in a Command

Known exploited entries

ListAdded dateDue dateRansomware use
cisa2025-07-072025-07-28no
vulncheck2022-01-26—no

Nuclei templates

IdUrl
CVE-2016-10033https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2016/CVE-2016-10033.yaml

Hackerone

  • Reports: 10
  • Rank: 2155

Public exploits

Same in every row:

  • Source: nvd
  • Added date: 2016-12-30
Url
http://packetstormsecurity.com/files/140291/PHPMailer-Remote-Code-Execution.html
http://packetstormsecurity.com/files/140350/PHPMailer-Sendmail-Argument-Injection.html
http://www.rapid7.com/db/modules/exploit/multi/http/phpmailer_arg_injection
http://www.securityfocus.com/bid/95108
https://legalhackers.com/advisories/PHPMailer-Exploit-Remote-Code-Exec-CVE-2016-10033-Vuln.html

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/PHPMailer/PHPMailer/releases/tag/v5.2.18Patch, Vendor Advisory
https://github.com/PHPMailer/PHPMailer/wiki/About-the-CVE-2016-10033-and-CVE-2016-10045-vulnerabilitiesPatch, Vendor Advisory
http://seclists.org/fulldisclosure/2016/Dec/78Mailing List, Patch, Third Party Advisory
https://legalhackers.com/advisories/PHPMailer-Exploit-Remote-Code-Exec-CVE-2016-10033-Vuln.htmlExploit, Patch, Third Party Advisory
https://www.exploit-db.com/exploits/40968/Exploit, Patch, Third Party Advisory, VDB Entry
https://www.exploit-db.com/exploits/40970/Exploit, Patch, Third Party Advisory, VDB Entry
http://packetstormsecurity.com/files/140291/PHPMailer-Remote-Code-Execution.htmlExploit, Third Party Advisory, VDB Entry
http://packetstormsecurity.com/files/140350/PHPMailer-Sendmail-Argument-Injection.htmlExploit, Third Party Advisory, VDB Entry
http://www.rapid7.com/db/modules/exploit/multi/http/phpmailer_arg_injectionExploit, Third Party Advisory
https://www.exploit-db.com/exploits/40969/Exploit, Third Party Advisory, VDB Entry

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
phpmailer_project:phpmailer< 5.2.18/v1/products/phpmailer_project/phpmailer
wordpress:wordpress<= 4.7/v1/products/wordpress/wordpress
joomla:joomla!>= 1.5.0, <= 3.6.5/v1/products/joomla/joomla!

Projects

RepositoryLink kindsIndexedUrl
PHPMailer/PHPMailerfix, package, releases, security_advisoryyes/v1/repositories/PHPMailer/PHPMailer

Index

  • Repositories: 3
  • Repositories high signal: 1
  • Checked, none or zero: packages

Exploitation

  • Known exploited: yes
  • Known exploited since: 2025-07-07
  • Known exploited by: cisa, vulncheck
  • Vulncheck known exploited since: 2022-01-26
  • Exploitation seen: yes
  • Public exploit: yes
  • Public exploit count: 48
  • Public exploit first date: 2016-12-26
  • Remote: yes
  • Hackerone reports: 10
  • Exposed hosts: 3144143
  • Checked, none or zero: initial access, authentication required
  • Not known: initial access since

Nuclei template