CVE-2016-10045: Joomla!

Critical severity, CVSS 9.8. EPSS: 98% probability of exploitation activity in the next 30 days.

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.

What to do

The record states a fixed version for the versions it affects. If you run one, update to it.

  • PHPMailer Project PHPMailer, before 5.2.20: fixed in 5.2.20

Affected products

Affected packages

Published 2016-12-30. Last modified 2026-06-17.