CVE-2025-7340 File upload in HT Contact Form – Drag & Drop Form Builder for WordPress
Unauthenticated attackers can upload arbitrary files via missing validation, potentially leading to remote code execution on WordPress sites.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-7340?
CVE-2025-7340 is a critical vulnerability in htplugins HT Contact Form – Drag & Drop Form Builder for WordPress, published on 15 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-434
Which versions are affected by CVE-2025-7340?
It affects 1 product.
Products include Hasthemes Download Contact Form 7 Widget for Elementor Page Builder \& Gutenberg Blocks.
How do I fix CVE-2025-7340?
No fix has been published for CVE-2025-7340 yet. Limit exposure of the affected software until one is available.
Is CVE-2025-7340 being exploited?
There is no known exploitation of CVE-2025-7340 in the wild and no public exploit code.
Public exploit code: 2 proofs of concept on GitHub.
Other vulnerabilities in htplugins HT Contact Form – Drag & Drop Form Builder for WordPress
Sources
Also known as GHSA-85f4-4cwm-5xmr.