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

- Severity: Critical 9.1 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/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): 1.19%, higher than 68% of CVEs (2026-12-01)
- Published: 2025-07-15T04:23:40.839Z
- Modified: 2026-06-17T10:04:45.387Z
- Weaknesses: CWE-269
- 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 deletion due to insufficient file path validation in the temp_file_delete() function in all versions up to, and including, 2.2.1. This makes it possible for unauthenticated attackers to delete arbitrary files on the server, which can easily lead to remote code execution when the right file is deleted (such as wp-config.php).

(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

## Every score

- Wordfence: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/32da04ba-bee3-4fd3-b91b-57e588d5f4e4?source=cve> (third-party-advisory)
- <https://plugins.trac.wordpress.org/browser/ht-contactform/trunk/admin/Includes/Services/FileManager.php#L107> (product)
- <https://plugins.trac.wordpress.org/changeset/3326887/ht-contactform/trunk/admin/Includes/Ajax.php?contextall=1&old=3316109&old_path=%2Fht-contactform%2Ftrunk%2Fadmin%2FIncludes%2FAjax.php> (patch)

## Sources

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

---

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