Email Before Download <= 3.6 - SMTP Header Injection

Improper Input Validation
CVSS 5.8 (Medium)
Publicly Published June 21, 2017
Last Updated December 28, 2022
Researcher Clément Notin


The Email Before Download plugin for WordPress is vulnerable to SMTP Header Injection in versions up to, and including, 3.6 via the 'email_from' POST parameter, where the 'emailfrom' variable is concatenated in the SMTP 'From:' header and then directly passed to wp_mail. This makes it possible for unauthenticated attackers to add newline characters which can lead to arbitrary headers/message bodies.



1 affected software package

Software Type Plugin
Software Slug email-before-download (view on
Patched? Yes
Remediation Update to version 4.0, or a newer patched version
Affected Version
  • <= 3.6
Patched Version
  • 4.0

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.