CVE-2025-7645

Extensions For CF7 (Contact form 7 Database, Conditional Fields and Redirection) <= 3.2.8 - Unauthenticated Arbitrary File Deletion Triggered via Admin Form Submission Deletion

Published Jul 22, 2025 CVSS 3.1 · 8.1 High EPSS 1.3% KEV · Not listed
Description
The Extensions For CF7 (Contact form 7 Database, Conditional Fields and Redirection) plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the 'delete-file' field in all versions up to, and including, 3.2.8. This makes it possible for unauthenticated attackers to delete arbitrary files on the server, when an administrator deletes the submission, which can easily lead to remote code execution when the right file is deleted (such as wp-config.php).

Analysis

AI-generated

Technical impact

The vulnerability originates from insufficient validation of the file path supplied in the ‘delete‑file’ request field within the plugin. An unauthenticated attacker can craft a request that causes the plugin, when an administrator deletes a database entry, to delete any file on the server that the web process can reach. Because critical configuration files such as wp‑config.php may be removed, this can lead to remote code execution or site compromise. The weakness is classified as a path traversal / arbitrary file deletion flaw (CWE‑22).

Affected Systems

Any WordPress installation that has the Extensions For CF7 plugin, versions 3.2.8 or earlier. The vendor, htplugins, released the plugin under the name Extensions For CF7 (Contact form 7 Database, Conditional Fields and Redirection). Sites running these versions that allow administrator deletion of form submissions are vulnerable.

Risk and Exploitability

The CVSS score of 8.1 highlights a high severity, while the EPSS score of less than 1 % indicates that active exploitation is currently rare, but the vulnerability remains a high priority because it does not require authentication and could be leveraged to delete critical files. The flaw is not listed in the CISA KEV catalog. Attackers need only send a crafted delete‑file request to the plugin’s admin endpoint, which is accessible without authentication, allowing them to delete arbitrary files and potentially execute arbitrary code.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest update to the Extensions For CF7 plugin to version 3.2.9 or later.
  • If an update cannot be performed immediately, disable the plugin entirely or remove it from the WordPress installation to eliminate the deletion capability.
  • Monitor the file system for unexpected deletions, maintain regular backups, and restore any critical files that have been inadvertently removed.

Generated by OpenCVE AI on April 21, 2026 at 03:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-22296 The Extensions For CF7 (Contact form 7 Database, Conditional Fields and Redirection) plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the 'delete-file' field in all versions up to, and including, 3.2.8. This makes it possible for unauthenticated attackers to delete arbitrary files on the server, when an administrator deletes the submission, which can easily lead to remote code execution when the right file is deleted (such as wp-config.php).
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description The Extensions For CF7 (Contact form 7 Database, Conditional Fields and Redirection) plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the 'delete-file' field in all versions up to, and including, 3.2.8. This makes it possible for unauthenticated attackers to delete arbitrary files on the server, when an administrator deletes the submission, which can easily lead to remote code execution when the right file is deleted (such as wp-config.php).
Title Extensions For CF7 (Contact form 7 Database, Conditional Fields and Redirection) <= 3.2.8 - Unauthenticated Arbitrary File Deletion Triggered via Admin Form Submission Deletion
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H'}

Subscriptions

No data.

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 5:05 PM
Reserved
Jul 14, 2025, 3:47 PM
Status
Deferred
Published
Jul 22, 2025, 7:15 AM
Modified
Jun 17, 2026, 10:05 AM