CVE-2025-8141
HIGH
8.8
CVSS 3.1
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).
Affected WordPress components
-
Redirection for Contact Form 7 Plugin · wpcf7-redirectUp to and including 3.2.4View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- themeisle Redirection for Contact Form 7 — Up to and including 3.2.4
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/wpcf7-redirect/tags/3.2.3/classes/class-wpcf7r-save-files.php#L80
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/fafd0159-25ab-430d-88ef-c4d09d23baa7?source=cve
- nvd.nist.gov Official NVD record