Home

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).

PUBLISHED Reserved 2025-07-24 | Published 2025-08-20 | Updated 2025-08-20 | Assigner Wordfence




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

Problem types

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

Product status

Default status
unaffected

*
affected

Timeline

2025-07-05:Discovered
2025-08-19:Disclosed

Credits

Nguyen Tan Phat finder

References

www.wordfence.com/...-25ab-430d-88ef-c4d09d23baa7?source=cve

plugins.trac.wordpress.org/...es/class-wpcf7r-save-files.php

cve.org (CVE-2025-8141)

nvd.nist.gov (CVE-2025-8141)

Download JSON