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

- Severity: Critical 9.8 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 6.68%, higher than 94% of CVEs (2026-12-01)
- Published: 2025-07-15T04:23:42.345Z
- Modified: 2026-06-17T10:04:45.280Z
- Weaknesses: CWE-434
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: Wordfence

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

(As written by CVE List.)

## Affected

- htplugins HT Contact Form – Drag & Drop Form Builder for WordPress: up to 2.2.1
- hasthemes download_contact_form_7_widget_for_elementor_page_builder_&_gutenberg_blocks: before 2.2.2

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/f0cb666b-bfab-492f-a74e-11dc9b171136?source=cve> (third-party-advisory)
- <https://plugins.trac.wordpress.org/browser/ht-contactform/trunk/admin/Includes/Services/FileManager.php#L86> (product)
- <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)

## Sources

- CVE List: [CVE-2025-7340](https://www.cve.org/CVERecord?id=CVE-2025-7340), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2025-7340](https://nvd.nist.gov/vuln/detail/CVE-2025-7340), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-7340 · Whole record: https://cve.day/CVE-2025-7340.json · Rebuilt by cve.day 2026-11-25T22:59:01.257Z
