Htplugins HT Contact Form – Drag & Drop Form Builder for WordPress
HT Contact Form Widget For Elementor Page Builder & Gutenberg Blocks & Form Builder. <= 2.2.1 - Unauthenticated Arbitrary File Upload
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- <= 2.2.1
Mitigation
The record names no fix. Check the vendor advisory below.
Timeline
Days relative to CVE publicationFirst public PoC 5 h before publication; not in CISA KEV. First PoC: Nxploited/CVE-2025-7340 (created 14 Jul 2025, found by us: backfilled).
PoC repositories
Found on GitHub.2 PoCs
PoCs 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Nxploited/CVE-2025-7340 | 14 Jul 2025 −5 h | 7 | PoC |
| Kai-One001/WordPress-HT-Contact-CVE-2025-7340-RCE | 4 Aug 2025 +20 d | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| nuclei template | nuclei template: HT Contact Form Widget for Elementor <= 2.2.1 - Unauthenticated Arbitrary File Upload | 11 Nov 2026 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 2 PoC reposGET /{var}
- Query
cmd=- Ports
- 8081
- Seen in
- 1 repo: Kai-One001/WordPress-HT-Contact-CVE-2025-7340-RCE
- Evidence
- Kai-One001/WordPress-HT-Contact-CVE-2025-7340-RCE/RCE.py:116
GET /{var}/{var}/{var}/
- Ports
- 8081
- Seen in
- 1 repo: Kai-One001/WordPress-HT-Contact-CVE-2025-7340-RCE
- Evidence
- Kai-One001/WordPress-HT-Contact-CVE-2025-7340-RCE/RCE.py:141
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/[^/?#]*\?(?:.*&)?cmd=
(?i)^/[^/?#]*/[^/?#]*/[^/?#]*/(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8081] (msg:"GG PoC-Monitor CVE-2025-7340 htplugins HT Contact Form – Drag & Drop Form Builder for WordPress exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"cmd="; reference:url,poc.griffinguard.io/cve/CVE-2025-7340; classtype:web-application-attack; sid:9469364; rev:1;)
alert http any any -> $HOME_NET [8081] (msg:"GG PoC-Monitor CVE-2025-7340 htplugins HT Contact Form – Drag & Drop Form Builder for WordPress exploit attempt"; flow:established,to_server; http.method; content:"GET"; reference:url,poc.griffinguard.io/cve/CVE-2025-7340; classtype:web-application-attack; sid:9815925; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: htplugins HT Contact Form – Drag & Drop Form Builder for WordPress exploit attempt (CVE-2025-7340)
id: gg-pocmon-cve-2025-7340-9469364
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-7340. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-7340
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-query|contains|all:
- 'cmd='
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.7340
title: htplugins HT Contact Form – Drag & Drop Form Builder for WordPress exploit attempt (CVE-2025-7340)
id: gg-pocmon-cve-2025-7340-9815925
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-7340. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-7340
logsource:
category: webserver
detection:
selection:
cs-method: GET
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.7340