Contact Form 7 <= 3.5.2 - Arbitrary File Upload

Unrestricted Upload of File with Dangerous Type
CVSS 9.8 (Critical)
Publicly Published August 1, 2014
Last Updated January 22, 2024
Researcher Eugene Dokukin


The Contact Form 7 plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type validation on contact form uploads in versions up to, and including, 3.5.2. This makes it possible for unauthenticated attackers to upload arbitrary files on the affected sites server which may make remote code execution possible.



Vulnerability Details for Contact Form 7

Software Type Plugin
Software Slug contact-form-7 (view on
Patched? Yes
Remediation Update to version 3.5.3, or a newer patched version
Affected Version
  • <= 3.5.2
Patched Version
  • 3.5.3

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.