CVE-2025-7340
CRITICAL
9.8
CVSS 3.1
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.
Affected WordPress components
-
HT Contact Form – Drag & Drop Form Builder for WordPress Plugin · ht-contactformUp to and including 2.2.1View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- htplugins HT Contact Form – Drag & Drop Form Builder for WordPress — Up to and including 2.2.1
- hasthemes download_contact_form_7_widget_for_elementor_page_builder_\&_gutenberg_blocks — Before 2.2.2
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/ht-contactform/trunk/admin/Includes/Services/FileManager.php#L86 Product
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/3326887/ht-contactform/trunk/admin/Includes/Services/FileManager.php?contextall=1&old=3316109&old_path=%2Fht-contactform%2Ftrunk%2Fadmin%2FIncludes%2FServices%2FFileManager.php Patch
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/f0cb666b-bfab-492f-a74e-11dc9b171136?source=cve Third Party Advisory
- nvd.nist.gov Official NVD record