← Vulnerability feed

Vulnerability record · CVE-2023-6449 · published 1 December 2023

CVE-2023-6449: Rocklobster contact form 7 unrestricted file upload vulnerability

Rocklobster · Contact Form 7

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.

7.2 CVSS 3.1 High EPSS 1.7% · top 23.3% CWE-434 · Unrestricted file upload
7.2CVSS 3.1 base score
1.7%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 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.

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

Affected products

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

References

Track CVE-2023-6449 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.

10.0CVE-2020-35489Contact Form 7 unrestricted file upload enables remote code executionContact Form 7 before 5.3.2 for WordPress permits unrestricted file uploads because a filename may contain special characters, allowing an uploaded f…EPSS 89%analysed9.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%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-2023-6449), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.