Contact Form 7 <= 5.8.3 - Authenticated (Editor+) Arbitrary File Upload

Summary

CVECVE-2023-6449
StatePUBLISHED
AssignerWordfence
Source PriorityCVE Program / NVD first with legacy fallback
Published2023-12-01 11:15:08 UTC
Updated2026-04-08 18:18:36 UTC
DescriptionThe 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.

Risk And Classification

Primary CVSS: v3.1 7.2 HIGH from [email protected]

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

Problem Types: CWE-434 | CWE-434 CWE-434 Unrestricted Upload of File with Dangerous Type


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary7.2HIGHCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
3.1[email protected]Secondary6.6MEDIUMCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
3.1CNADECLARED6.6MEDIUMCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Rocklobster Contact Form 7 All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Rocklobsterinc Contact Form 7 affected 5.8.3 semver Not specified

References

ReferenceSourceLinkTags
www.wordfence.com/threat-intel/vulnerabilities/id/5d7fb020-6acb-445e-a46b-bdb5a... af854a3a-2127-422b-91ae-364da2661108 www.wordfence.com Third Party Advisory
contactform7.com/2023/11/30/contact-form-7-584 af854a3a-2127-422b-91ae-364da2661108 contactform7.com Release Notes
plugins.trac.wordpress.org/changeset/3003556/contact-form-7 af854a3a-2127-422b-91ae-364da2661108 plugins.trac.wordpress.org Patch
github.com/rocklobster-in/contact-form-7/compare/v5.8.3...v5.8.4 af854a3a-2127-422b-91ae-364da2661108 github.com Patch
plugins.trac.wordpress.org/browser/contact-form-7/tags/5.8.3/includes/formatting.php af854a3a-2127-422b-91ae-364da2661108 plugins.trac.wordpress.org Product
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: István Márton (en)

Additional Advisory Data

SourceTimeEvent
CNA2023-11-21T00:00:00.000ZDiscovered
CNA2023-11-21T00:00:00.000ZVendor Notified
CNA2023-11-30T00:00:00.000ZDisclosed

Legacy QID Mappings

  • 150759 WordPress Contact Form 7 Plugin: Authenticated Arbitrary File Upload Vulnerability (CVE-2023-6449)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report