CVE-2023-6449
published medium CVSS 3.1 · 6.6Contact Form 7 <= 5.8.3 - Authenticated (Editor+) Arbitrary File Upload
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| rocklobsterinc | — | Contact Form 70 through 5.8.3 · Other versions: unaffected | Affected | Not stated | Wordfence |
Description
The Contact Form 7 plugin for WordPress is vulnerable to arbitrary file uploads due to insufficient file type validation in the 'validate' function and insufficient blocklisting on the 'wpcf7_antiscript_file_name' function in versions up to, and including, 5.8.3. This makes it possible for authenticated attackers with editor-level capabilities or above to upload arbitrary files on the affected site's server, but due to the htaccess configuration, remote code cannot be executed in most cases. By default, the file will be deleted from the server immediately. However, in some cases, other plugins may make it possible for the file to live on the server longer. This can make remote code execution possible when combined with another vulnerability, such as local file inclusion.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.6 / 10
- Severity
- medium
- Provider
- Wordfence · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| rocklobsterinc | Contact Form 7 | 0 through 5.8.3 (affected · semver)Default: unaffected | Wordfence · cna |
Weaknesses
1- CWE-434 CWE-434 Unrestricted Upload of File with Dangerous Type
References
5- https://contactform7.com/2023/11/30/contact-form-7-584/
- https://github.com/rocklobster-in/contact-form-7/compare/v5.8.3...v5.8.4
- https://plugins.trac.wordpress.org/browser/contact-form-7/tags/5.8.3/includes/formatting.php#L275
- https://plugins.trac.wordpress.org/changeset/3003556/contact-form-7
- https://www.wordfence.com/threat-intel/vulnerabilities/id/5d7fb020-6acb-445e-a46b-bdb5aaf8f2b6?source=cve
Provider assertions
3Wordfence · cna
Contact Form 7 <= 5.8.3 - Authenticated (Editor+) Arbitrary File Upload
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b79eb2131fb7bb03b952f9cdbac2b255d8b5f97c8819d7d677a2917508483e2e
- Ingested
- 23 Sep 2026, 08:15:42 UTC
- Source record
- Official CVE record