CVE-2016-10045: The isMail transport in PHPMailer before 5.2.20 might allow remote attackers to pass extra parameters to the mail command and consequentl…

CVE-2016-10045 affects 107 listed versions of Joomla in the Dawnsentry catalogue.

9.8CVSS critical
Attack tool publicexploitation
98%EPSS (next 30 days)
30 December 2016published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Joomla

107 of 250 listed versions are affected. No fixed release is named. The newest release, 6.2.1, is not affected.

3.6.5 3.6.4 3.6.3 3.6.3-rc3 3.6.3-rc2 3.6.3-rc1 3.6.2 3.6.1 3.6.1-rc2 3.6.1-rc1 3.6.0 3.6.0-rc2 3.6.0-rc 3.5.1 3.5.1-rc2 3.5.1-rc 3.5.0 3.5.0-rc4 3.5.0-rc3 3.5.0-rc2 3.5.0-rc 3.4.8 3.4.8-rc 3.4.7 3.4.6 3.4.5 3.4.4 3.4.3 3.4.2 3.4.2-rc1 3.4.1 3.4.1-rc2 3.4.1-rc1 3.4.0 3.4.0-rc1 3.3.6 3.3.5 3.3.4 3.3.3 3.3.2 3.3.1 3.3.0 3.2.7 3.2.6 3.2.5 3.2.4 3.2.3 3.2.2 3.2.1 3.2.0 3.1.6 3.1.5 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.4 3.0.3 3.0.2 and 47 more

What it is

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 CVE-2016-10033.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)

Published by MITRE on 30 December 2016. Last changed 17 June 2026. Exploit code is public (Metasploit or Nuclei).

Sources

Check one version you run: look CVE-2016-10045 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.