Contact Form 7 Flaw Lets Strangers Upload Files to Your Site. Update to 6.2.4 Now
Published on: Nov 09, 2026
4 min read.
Contact Form 7 is one of the most used plugins on WordPress. The plugin directory lists it on more than 10 million active sites. On October 29, 2026, its author released version 6.2.4 with several security fixes. Security databases published the details between October 31 and November 5.
The main flaw lets a stranger upload a file through your contact form. No login is needed. On some servers that file can then be run as code. That means a full takeover of the site.
There are no confirmed attacks yet. That may not last. A German tech site reports that the researcher plans to publish proof-of-concept code on November 19. Once working code is public, automated scanners usually follow. You have about ten days to update calmly.
What Happened?
The flaw is tracked as CVE-2026-114432. Wordfence rates it 9.8 out of 10, which is Critical. It affects Contact Form 7 versions 6.2 through 6.2.3. The researchers are Shinya Murakami and Jakub Herman. They reported it through WPScan.
Here is the plain version. A form with a file upload field is supposed to check the type of file a visitor sends. In these versions that check could be bypassed. A second bug meant the uploaded file was not cleaned up after the form was sent. So the file stayed on your server.
What happens next depends on how your server is set up.
- On a stock Apache setup on Debian or Ubuntu, the server can list folder contents and treats some file types as PHP. There, an attacker can find the file and run it. That is remote code execution.
- On nginx, or Apache with the usual .htaccess rules, the risk is smaller. The attacker can still drop a file in your uploads folder. It could be an HTML or SVG page served from your own domain. That is handy for phishing or script attacks.
The plugin author says that in theory any form with a file upload field is a target on a server that lists folder contents publicly.
Who Is Affected?
You are at risk if all of these are true.
- Your site runs Contact Form 7 version 6.2, 6.2.1, 6.2.2 or 6.2.3.
- At least one of your forms has a file upload field. Think job applications, quote requests or “attach a photo” forms.
- Your server allows public folder listings, or runs a setup that executes unusual file types as PHP.
Sites on version 6.1 or older are not listed as affected by WPScan. The plugin author still recommends that everyone move to 6.2.4 because the extra hardening helps all versions. The current release is 6.2.4.1.
There is a catch for older sites. Contact Form 7 6.2 and newer require PHP 8.3 or higher. If your host still runs an older PHP version, you may not be able to update the plugin at all. That is a hosting problem worth fixing soon. PHP 8.2 stops getting security fixes on December 31, 2026, according to php.net.
Why This Matters for Your Business
Your contact form is where customers reach you. It is also open to anyone on the internet. That makes it a favorite target.
A hacked site can
- send your visitors to scam pages
- leak names, emails and files people sent through your forms
- get flagged by Google and drop in search results
- get your domain blocked by email providers
Cleanup costs time and money. Lost trust can cost more. Updating one plugin today costs a few minutes.
How to Fix It. Step by Step
1. Back up your site.
Save your files and your database. Keep a copy off the server.
2. Check your Contact Form 7 version.
Go to Plugins in your WordPress dashboard and find Contact Form 7. Note the version number.
3. Update to 6.2.4 or newer.
Click update. Then refresh the Plugins page and make sure the number really changed. Turn on auto-updates for this plugin if you are comfortable with that.
4. If the update will not install, check your PHP version.
Go to Tools and then Site Health and open the Info tab. Look under Server for the PHP version. If it is below 8.3, ask your host to upgrade it. Test on a staging copy first since old themes and plugins can break.
5. If you cannot update today, remove the risk.
Take file upload fields out of your forms for now. Or turn the plugin off until you can update.
6. Look for files that should not be there.
Check your wp-content/uploads folder. There should be no PHP or PHAR files in it. Also look for HTML or SVG files you do not recognize.
7. Harden the server.
Turn off folder listings. Block PHP from running inside the uploads folder. Your host or developer can set both in a few minutes.
8. Check for other signs of trouble.
Look at Users for admin accounts you do not know. Look for plugins you did not install. If something looks wrong, restore a clean backup and change every password.
Let Me Keep Your Site Safe
Plugin flaws like this show up every week. Most business owners do not have time to track them. They should not have to.
I build, host and secure WordPress and React sites for small businesses. I can also take over hosting and security for a site you already have. It does not matter if an agency, an in-house team or an AI tool built it. With my managed hosting and security maintenance you get
- plugin, theme and core updates applied and checked
- a current, supported PHP version tested before it goes live
- server rules that block folder listings and PHP in uploads
- daily off-site backups and a tested restore plan
- 24/7 uptime and security monitoring
- help with SEO and Google Ads if a hack has hurt your traffic
You run the business. I keep the site safe and online.
Not sure if your forms are exposed? Contact me for a free WordPress security check before November 19.