WordPress forms that accept file uploads: a pattern worth watching
A plain-language guide to why public file-upload fields on WordPress forms keep showing up in serious advisories, with recent 2026 examples from Elementor Pro, Ninja Forms, and Contact Form 7.
A contact form feels like a small feature: a name, an email address, a message. When that form also accepts a file, it becomes a public upload door. In 2026, more than one widely used WordPress plugin had to patch a problem in exactly that door.
This is not a recap of any single release. It is a pattern: if people can attach a file without logging in, the plugin has to check that attachment carefully, and the server has to avoid leaving it in a dangerous place.
Three recent examples
In September 2026, Wordfence reported that CVE-2026-32475 in Elementor Pro, an unauthenticated file-upload issue, was being exploited. The condition was specific: a published Elementor Pro Form widget with at least one file-upload field that was not marked as required. Versions through 4.2.1 were affected; 4.2.2 was the vendor fix, released August 19, 2026. Wordfence said Elementor Pro had more than 6 million active installations. [1]
In April 2026, the same researcher, István Márton, reported active exploitation of CVE-2026-0740 in the Ninja Forms File Upload add-on, through version 3.3.26. Attackers needed a form that included a file-upload field. The vendor had already shipped a complete fix in 3.3.27 on March 19, 2026, after a partial patch in 3.3.25. Wordfence estimated 50,000 installations for that add-on and said exploitation began the day the issue was disclosed. [2][3]
In October 2026, Takayuki Miyoshi released Contact Form 7 6.2.4 after an unauthenticated arbitrary file-upload flaw in versions 6.2 through 6.2.3. The official post said forms with file-upload fields, on servers that list directory contents, can be targets, and it recommended 6.2.4 for all users. The CVE record, CVE-2026-114432, added that on some default Apache setups a leftover file can become more serious. [4][5]
The details differ. The owner-facing lesson does not: a public upload field is worth knowing about, and the plugin that powers it needs to stay current.
What to do on a small-business site
- List every public form that accepts a file: contact forms, application forms, support forms, and quote requests.
- Check the plugin version for each one, and install the current official release. For the examples above, that means Elementor Pro 4.2.2 or later, Ninja Forms File Upload 3.3.27 or later, and Contact Form 7 6.2.4 or later, plus whatever later releases have shipped since. [1][2][4]
- If a form does not need to accept files, turn that field off.
- After an update, look in the relevant upload folders for unexpected PHP files. A patched plugin will not always delete a file that was already written. [1][2][5]
- Ask your host whether the server lists directory contents, and have that turned off if it does. [4][5]
If you are not sure whether a form accepts files, open it as a visitor would and look for an attachment or "choose file" control. Some builders add that field by default on an application or support form and leave it there unused. The Elementor Pro issue Wordfence described required a file-upload field that was not marked required, which is an easy setting to miss on a live page. [1]
It also helps to know where uploaded files are stored. Different plugins use different folders under wp-content/uploads. After a serious fix, search those folders for unexpected PHP files, not only for last week's PDFs. Wordfence pointed Elementor Pro users at the plugin's forms upload path; Ninja Forms reporting described attempts to place PHP files and .htaccess rules that would treat other extensions as PHP. You do not need the technical details to do the useful search, and this guide does not repeat those samples. [1][2]
Our take
File-upload fields are useful, and they are also a recurring theme in WordPress advisories. You do not need to read a proof of concept to do the useful part: know which forms accept files, keep those plugins current, and look for leftovers after a serious fix.
Free to try: a passive scan looks at your public pages from outside without submitting a single form. Only use it on sites you own or are authorized to check.
Sources
- István Márton, "Attackers Actively Exploiting Critical Vulnerability in Elementor Pro Plugin," Wordfence, September 2, 2026, via https://www.wordfence.com/blog/2026/09/attackers-actively-exploiting-critical-vulnerability-in-elementor-pro-plugin/.
- István Márton, "Attackers Actively Exploiting Critical Vulnerability in Ninja Forms – File Upload Plugin," Wordfence, April 16, 2026, via https://www.wordfence.com/blog/2026/04/attackers-actively-exploiting-critical-vulnerability-in-ninja-forms-file-upload-plugin/.
- Wordfence, "CVE-2026-0740," CVE Program, updated April 8, 2026, https://www.cve.org/CVERecord?id=CVE-2026-0740.
- Takayuki Miyoshi, "Contact Form 7 6.2.4," October 29, 2026, https://contactform7.com/2026/10/29/contact-form-7-624/.
- WPScan, "CVE-2026-114432," CVE Program, updated November 8, 2026, https://www.cve.org/CVERecord?id=CVE-2026-114432.
See what a scan sees on your site
A free Surface Scan takes a few minutes: a grade, the openings visible from outside, and a private report link by email.
If you already have a report and want a closer look, a Deep Scan goes further than the free Surface Scan. You can start one from your report when you are ready. See pricing
Sources
- Istvan Marton, “Attackers Actively Exploiting Critical Vulnerability in Elementor Pro Plugin”, Wordfence, September 2, 2026.www.wordfence.com · accessed November 29, 2026
- Istvan Marton, “Attackers Actively Exploiting Critical Vulnerability in Ninja Forms File Upload Plugin”, Wordfence, April 16, 2026.www.wordfence.com · accessed November 29, 2026
- Wordfence, “CVE-2026-0740”, CVE Program, April 8, 2026.www.cve.org · accessed November 29, 2026
- Takayuki Miyoshi, “Contact Form 7 6.2.4”, Contact Form 7, October 29, 2026.contactform7.com · accessed November 29, 2026
- WPScan, “CVE-2026-114432”, CVE Program, November 8, 2026.www.cve.org · accessed November 29, 2026
Summarized in our own words; any quoted text is short and marked. Spotted an error or want a correction? Tell us.