CVE-2025-8141: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in themeisle Redirection for Contact Form 7
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).
AI Analysis
Technical Summary
The Redirection for Contact Form 7 plugin for WordPress contains a path traversal vulnerability (CWE-22) due to improper limitation of file pathnames in the delete_associated_files function. This flaw allows unauthenticated attackers to delete arbitrary files on the server by manipulating file paths. The vulnerability affects all versions up to 3.2.4 and has a CVSS 3.1 base score of 8.8, indicating high severity with network attack vector, low attack complexity, no privileges required, and user interaction needed. Successful exploitation can lead to complete confidentiality, integrity, and availability compromise, including remote code execution.
Potential Impact
An attacker can delete arbitrary files on the affected server without authentication. This can result in denial of service or remote code execution if critical files such as wp-config.php are deleted. The impact includes full compromise of confidentiality, integrity, and availability of the WordPress installation and potentially the underlying server.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict access to the plugin's functionality and consider disabling or removing the plugin if possible. Monitor for updates from themeisle regarding patches or mitigations.
CVE-2025-8141: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in themeisle Redirection for Contact Form 7
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).
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Redirection for Contact Form 7 plugin for WordPress contains a path traversal vulnerability (CWE-22) due to improper limitation of file pathnames in the delete_associated_files function. This flaw allows unauthenticated attackers to delete arbitrary files on the server by manipulating file paths. The vulnerability affects all versions up to 3.2.4 and has a CVSS 3.1 base score of 8.8, indicating high severity with network attack vector, low attack complexity, no privileges required, and user interaction needed. Successful exploitation can lead to complete confidentiality, integrity, and availability compromise, including remote code execution.
Potential Impact
An attacker can delete arbitrary files on the affected server without authentication. This can result in denial of service or remote code execution if critical files such as wp-config.php are deleted. The impact includes full compromise of confidentiality, integrity, and availability of the WordPress installation and potentially the underlying server.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict access to the plugin's functionality and consider disabling or removing the plugin if possible. Monitor for updates from themeisle regarding patches or mitigations.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-07-24T16:21:17.311Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 68a533d0ad5a09ad00ff4062
Added to database: 8/20/2025, 2:32:48 AM
Last enriched: 4/9/2026, 10:49:48 AM
Last updated: 5/10/2026, 3:10:13 AM
Views: 196
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.