HT Contact Form – Drag & Drop Form Builder for WordPress - Arbitrary File Upload (CVE-2025-7340)
Description
The HT Contact Form Widget For Elementor Page Builder & Gutenberg Blocks & Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type validation in the temp_file_upload() function in all versions up to, and including, 2.2.1. This makes it possible for unauthenticated attackers to upload arbitrary files on the affected site's server which may make remote code execution possible.
psychologyCrowdSec Analysis
CVE-2025-7340 is a critical arbitrary file upload vulnerability in the HT Contact Form plugin for WordPress, affecting versions up to and including 2.2.1. Missing file type validation allows unauthenticated attackers to upload files to the server, potentially enabling remote code execution and full compromise of the affected website.
CrowdSec has been tracking this vulnerability and its exploits since 12th of November 2026.
CrowdSec has not observed any significant exploitation activity targeting CVE-2025-7340 across its network. As a result, no community-driven trend analysis is available for this vulnerability at this time.
Attackers target /wp-admin/admin-ajax.php?action=ht_form_temp_file_upload with a multipart upload containing a PHP file, potentially disguised as an image. They may then request the uploaded file under /wp-content/uploads/ht_form/temp/ to execute it.
Full Intelligence Available
Connect your API key to access CrowdSec scores, exploit timelines, and attacker IPs.
| Event | Date |
|---|---|
| CVE Published | 2025-07-15 |
| Rule Released | 2026-11-12 |