PoC Monitor
← All CVEs
CVE-2025-7340published 15 Jul 2025 04:23 UTCData: JSON · API

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.

First public PoC 5 h beforebefore publication · 14 Jul 2025
Public PoCs32 on GitHub · 1 Exploit-DB, Metasploit or nuclei
CVSS9.8critical · scored by CNA · CWE-434
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

htplugins HT Contact Form – Drag & Drop Form Builder for WordPress
  • <= 2.2.1

Mitigation

The record names no fix. Check the vendor advisory below.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8First public PoC14 Jul 2025 · t−5hCVE published15 Jul 2025 · t = 0

First 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
RepositoryCreatedStarsAssessment
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.
SourceTitlePublishedFound by us
nuclei templatenuclei template: HT Contact Form Widget for Elementor <= 2.2.1 - Unauthenticated Arbitrary File Upload11 Nov 202614 Nov 2026

PoC characteristics

What to hunt for in your logs · from 2 PoC repos

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /{var}
(?i)^/[^/?#]*\?(?:.*&)?cmd=
GET /{var}/{var}/{var}/
(?i)^/[^/?#]*/[^/?#]*/[^/?#]*/(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /{var}
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;)
GET /{var}/{var}/{var}/
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.

GET /{var}
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
GET /{var}/{var}/{var}/
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