Advisory

Critical vulnerabilities reported in HT Contact Form Widget

Take action: If you use the HT Contact Form Widget on your WordPress site, immediately update to version 2.2.2 or later. Updating these plugins is trivial, don't delay because hackers will find the unpatched versions.


Learn More

trio of critical security vulnerabilities has been discovered in the HT Contact Form Widget for Elementor Page Builder & Gutenberg Blocks & Form Builder WordPress plugin, exposing more than 10,000 websites to complete site takeover through unauthenticated attacks.

The vulnerabilities were reported by security researchers vgo0 and Phat Ri via the Wordfence Bug Bounty Program.

Vulnerabilities summary:

  • CVE-2025-7340 (CVSS score 9.8) - affects the plugin's temp_file_upload() function due to missing file type validation in all versions up to and including 2.2.1. It allows unauthenticated attackers to upload arbitrary files, including executable PHP scripts, to the affected site's server without any authentication requirements. The uploaded files are stored in publicly accessible directories, enabling direct access and execution of malicious code, which can lead to complete remote code execution and full site compromise.
  • CVE-2025-7341 (CVSS score 9.8) - enables arbitrary file deletion through the temp_file_delete() function. Attackers can exploit this flaw to delete critical system files, including the wp-config.php file, which places the WordPress site into setup mode and enables attackers to gain full control by pointing the installation to a new database under their control
  • CVE-2025-7360 (CVSS score 9.8) - enables arbitrary file movement capabilities through the handle_files_upload() function. It allows attackers to move critical system files to different locations. The file movement capability can trigger the same type of system compromise as file deletion, potentially disrupting site functionality and enabling unauthorized access.

The HT Contact Form Widget plugin, developed by HasTech IT, serves as a contact form solution for WordPress sites using Elementor Page Builder and Gutenberg Blocks. 

Wordfence contacted plugin developer HasTech IT on July 8, 2025, and the development team released patches just five days later on July 13, 2025. WordPress site administrators should immediately update the HT Contact Form Widget plugin to version 2.2.2 or later.

Critical vulnerabilities reported in HT Contact Form Widget