← Vulnerability feed

Vulnerability record · CVE-2020-35489 · published 17 December 2020

CVE-2020-35489: Contact Form 7 unrestricted file upload enables remote code execution

Rocklobster · Contact Form 7

Contact Form 7 before 5.3.2 for WordPress permits unrestricted file uploads because a filename may contain special characters, allowing an uploaded file to bypass intended restrictions. Because the plugin is widely deployed and the flaw can lead to remote code execution, it is a serious risk for any site running an affected version.

10.0 CVSS 3.1 Critical EPSS 89% · top 0.2% CWE-434 · Unrestricted file upload
10.0CVSS 3.1 base score, v2 10.0
89%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
10References
17 Jun 2026Last modified by NVD

Description

The contact-form-7 (aka Contact Form 7) plugin before 5.3.2 for WordPress allows Unrestricted File Upload and remote code execution because a filename may contain special characters.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

critical priorityCVSS 10.0 with network reachability, no authentication, and remote code execution impact, combined with a very high EPSS score.

What it is

Contact Form 7 before 5.3.2 for WordPress permits unrestricted file uploads because a filename may contain special characters, allowing an uploaded file to bypass intended restrictions. Because the plugin is widely deployed and the flaw can lead to remote code execution, it is a serious risk for any site running an affected version.

Impact

An unauthenticated attacker can upload a crafted file and achieve remote code execution on the web server, giving full control of the site and its hosting context.

Attack surface

The flaw is reachable over the network through the plugin's file upload functionality, with no authentication or user interaction required per the CVSS vector (AV:N/AC:L/PR:N/UI:N). Any site exposing a form with file upload enabled is a candidate.

Exploitation

Not listed in CISA KEV and no ransomware associations are documented, but EPSS is very high (0.8928, 99.77th percentile), indicating strong likelihood of exploitation activity. References are vendor and third-party advisories only, with no public exploit tag in the record.

What to do

  • Update Contact Form 7 to 5.3.2 or later immediately.
  • If patching is delayed, disable file upload fields in forms or restrict uploads to trusted users.
  • Enforce server-side upload validation and block executable file types at the web server.
  • Review and harden file upload directories so uploaded files cannot be executed.
  • Monitor WordPress plugin versions and apply vendor updates promptly.

Detection

  • Inspect web server and upload directory logs for files with unusual or special characters in the filename.
  • Alert on newly written files in WordPress upload paths that have executable extensions or unexpected content types.
  • Monitor for outbound or child processes spawned by the web server that indicate code execution.
  • Check for unexpected files in uploads directories and compare against known legitimate content.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2020-35489 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2018-20979Rocklobster contact form 7 vulnerabilityThe contact-form-7 plugin before 5.0.4 for WordPress has privilege escalation because of capability_type mishandling in register_post_type.EPSS 2.0%8.8CVE-2021-24159Rocklobster contact form 7 cross-site request forgery vulnerabilityDue to the lack of sanitization and lack of nonce protection on the custom CSS feature, an attacker could craft a request to inject malicious JavaScr…EPSS 0.59%7.2CVE-2023-6449Rocklobster contact form 7 unrestricted file upload vulnerabilityThe Contact Form 7 plugin for WordPress is vulnerable to arbitrary file uploads due to insufficient file type validation in the 'validate' function a…EPSS 1.7%6.1CVE-2024-4704Rocklobster contact form 7 open redirect vulnerabilityThe Contact Form 7 WordPress plugin before 5.9.5 has an open redirect that allows an attacker to utilize a false URL and redirect to the URL of their…EPSS 0.45%6.1CVE-2024-2242Rocklobster contact form 7 cross-site scripting vulnerabilityThe Contact Form 7 plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the ‘active-tab’ parameter in all versions up to, and inc…EPSS 1.3%5.3CVE-2025-3247Rocklobster contact form 7 vulnerabilityThe Contact Form 7 plugin for WordPress is vulnerable to Order Replay in all versions up to, and including, 6.0.5 via the 'wpcf7_stripe_skip_spam_che…EPSS 0.25%5.0CVE-2014-2265Rocklobster contact form 7 permissions and access controls vulnerabilityRock Lobster Contact Form 7 before 3.7.2 allows remote attackers to bypass the CAPTCHA protection mechanism and submit arbitrary form data by omittin…EPSS 3.1%4.3CVE-2023-6630Rocklobster contact form 7 insecure direct object reference vulnerabilityThe Contact Form 7 – Dynamic Text Extension plugin for WordPress is vulnerable to Insecure Direct Object Reference in all versions up to, and includi…EPSS 0.35%

Source: NIST National Vulnerability Database (record CVE-2020-35489), CISA KEV, FIRST EPSS (scores of 2026-09-24). This page is refreshed as NVD updates the record.