The Mailjet module integrates with a 3rd party system to deliver site-generated emails, including newsletters, system notifications, etc.

The Mailjet module included v5.2.8 of the PHPMailer library in its "includes" directory. Per PSA-2016-004, this version of the PHPMailer library was vulnerable to PHP code execution.

Per policy, 3rd party code should not be stored in repositories.

Updating this module will require manual actions to replace the PHPMailer library as described in the README.txt file included in the release.

CVE identifier(s) issued

  • A CVE identifier will be requested, and added upon issuance, in accordance with Drupal Security Team processes.

Versions affected

  • Mailjet 7.x-2.x versions prior 7.x-2.10.

Drupal core is not affected. If you do not use the contributed module, there is nothing you need to do.


Install the latest version:

Also see the project page.

Reported by

Fixed by

Coordinated by


  • 2017-01-11: Initial release of the advisory.
  • 2017-01-25: Updated advisory to recommendation using the newer 7.x-2.10 release.

Contact and More Information

The Drupal security team can be reached at security at or via the contact form at

Learn more about the Drupal Security team and their policies, writing secure code for Drupal, and securing your site.

Follow the Drupal Security Team on Twitter at