What’s Vulnerable › Vulnerabilities

CVE-2025-7341: HT Contact Form Widget For Elementor Page Builder & Gutenberg Blocks & Form Builder. <= 2.2.1 - Unauthenticated Arbitrary File Deletion

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

Affected products

How to fix

Upgrade to a fixed version: htplugins HT Contact Form – Drag & Drop Form Builder for WordPress 2.2.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-7341 or the next vulnerability affects your stack