CVE-2020-35489: Unrestricted File Upload in Contact Form 7 for WordPress
- Vendor
- Rocklobster
CVE-2020-35489 is an unrestricted file upload vulnerability in the Contact Form 7 WordPress plugin before version 5.3.2. According to the provided content, the flaw allows a filename to contain special characters, resulting in insufficient validation of uploaded files. This can permit an attacker to upload arbitrary files, including potentially executable server-side payloads, leading to remote code execution under vulnerable server configurations.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows an attacker to upload arbitrary files to the target WordPress server. If the uploaded file is interpreted as executable code by the web server or application stack, this can result in remote code execution. Depending on server configuration and plugin deployment, this may enable full compromise of the affected WordPress instance, unauthorized access to hosted data, persistence via webshells, and follow-on attacks against the underlying environment.
Mitigation
If you can’t patch tonight, do this now.
Until patching is completed, restrict or disable file upload functionality exposed by the plugin where operationally feasible. Enforce server-side controls that prevent execution of uploaded files in web-accessible upload directories, and ensure web server configuration does not allow script execution from user-upload locations. Additional defensive monitoring of upload paths and WordPress AJAX/file-handling activity can help detect exploitation attempts.
Remediation
Patch, then assume compromise.
Update the Contact Form 7 plugin to version 5.3.2 or later, as the provided content states the issue was patched in version 5.3.2. Verify that no untrusted files were uploaded prior to patching, inspect upload directories for webshells or anomalous files, and remove any malicious artifacts discovered during review.
Exploits
No validated public exploits yet. Hidden: 4 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2020-35489 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2020-35489?
- As of Oct 16, 2026, Mallory has found no public exploit for CVE-2020-35489.
- Is there a patch for CVE-2020-35489?
- Update the Contact Form 7 plugin to version 5.3.2 or later, as the provided content states the issue was patched in version 5.3.2. Verify that no untrusted files were uploaded prior to patching, inspect upload directories for webshells or anomalous files, and remove any malicious artifacts discovered during review.
- What products are affected by CVE-2020-35489?
- Rocklobster Contact Form 7.
- How severe is CVE-2020-35489?
- CVE-2020-35489 has a CVSS v3.1 score of 10.0 (Critical) and an EPSS score of 89.3% (100th percentile) as of Oct 16, 2026.
Recent activity
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.