CVE-2025-8141

Redirection for Contact Form 7 <= 3.2.4 - Unauthenticated Arbitrary File Deletion

highImproper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
8.8
CVSS Score
8.8
CVSS Score
high
Severity
3.2.5
Patched in
1d
Time to patch

Description

The Redirection for Contact Form 7 plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the delete_associated_files function in all versions up to, and including, 3.2.4. This makes it possible for unauthenticated attackers to delete arbitrary files on the server, which can easily lead to remote code execution when the right file is deleted (such as wp-config.php).

CVSS Vector Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
High
Confidentiality
High
Integrity
High
Availability

Technical Details

Affected versions<=3.2.4
PublishedAugust 19, 2025
Last updatedAugust 20, 2025
Affected pluginwpcf7-redirect

Check if your site is affected.

Run a free security audit to detect vulnerable plugins, outdated versions, and misconfigurations.