WordPress security changelog
CRITICAL CVE-2020-35489 Modified

Contact Form 7: Code execution

Contact Form 7 is affected by code execution. Exposure depends on how the affected operation is made reachable by the site. Successful exploitation can run attacker-controlled code in the WordPress hosting account.

CVE / CNA score 10.0 CVSS · cve@mitre.org
NVD score 10.0 CVSS 3.1 · nvd@nist.gov
Component
Contact Form 7
Plugin slug
contact-form-7
Affected
See vendor advisory
Safe version
See mitigation notes
Published
Dec 17, 2020
Weakness
CWE-434 — Unrestricted Upload of File with Dangerous Type

This CVE was published Dec 17, 2020 and is one of 11 known issues for this plugin.

Update, patch or deactivate.

Update Contact Form 7 to a release outside the affected range, or disable and remove it until a fixed version is available.

No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.

Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.

Technical 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.

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

Primary and upstream sources