Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    First, Contact Form 7 is a contact form plugin, not a mailing plugin. It totally depends on wp_mail() to send email.

    It makes no sense to ask whether a plugin, which itself doesn’t have an ability to send email, does “header injection protection” or not.

    Thread Starter nickwuk

    (@nickwuk)

    Form fields collecting data should be sanitized at the earliest opportunity. Steven Stern as WP forum moderator seems to agree in this post. Indeed in the change log dated 19 August 2013 it lists the following fix:

    ‘Strip newlines to prevent mail header injection’

    So maybe there is already some protection, if the code for this fix still exists; My question is what additional protection is needed to sanitize for cc and bcc headers injected into field data, or to sanitize for script tags etc. From recent experience there seems there maybe a vulnerability, at least in the version 1.6.4.

    • This reply was modified 3 years ago by nickwuk.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Header injection protection’ is closed to new replies.