Vulnerability Description
The HT Contact Form Widget For Elementor Page Builder & Gutenberg Blocks & Form Builder plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the temp_file_delete() function in all versions up to, and including, 2.2.1. 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 Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Hasthemes | Download Contact Form 7 Widget For Elementor Page Builder \& Gutenberg Blocks | < 2.2.2 |
Related Weaknesses (CWE)
References
- https://plugins.trac.wordpress.org/browser/ht-contactform/trunk/admin/Includes/SProduct
- https://plugins.trac.wordpress.org/changeset/3326887/ht-contactform/trunk/admin/Patch
- https://www.wordfence.com/threat-intel/vulnerabilities/id/32da04ba-bee3-4fd3-b91Third Party Advisory
FAQ
What is CVE-2025-7341?
CVE-2025-7341 is a vulnerability with a CVSS score of 9.1 (CRITICAL). The HT Contact Form Widget For Elementor Page Builder & Gutenberg Blocks & Form Builder plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the te...
How severe is CVE-2025-7341?
CVE-2025-7341 has been rated CRITICAL with a CVSS base score of 9.1/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2025-7341?
Check the references section above for vendor advisories and patch information. Affected products include: Hasthemes Download Contact Form 7 Widget For Elementor Page Builder \& Gutenberg Blocks.