Contact Form 7 <= 5.3.1 - Arbitrary File Upload via Bypass

Unrestricted Upload of File with Dangerous Type
CVE CVE-2020-35489
CVSS 8.1 (High)
Publicly Published December 17, 2020
Last Updated January 22, 2024
Researcher Jinson Varghese Behanan


The Contact Form 7 plugin for WordPress is vulnerable to arbitrary file uploads in versions up to 5.3.2. This is due to the fact that the plugin allows filenames to contain special characters which may make extension filter evasion possible on certain configurations. Our team was not able to reproduce this issue which leads us to believe there is a high attack complexity or special configuration requirement.



Vulnerability Details for Contact Form 7

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

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.