SecurityContext

CVE-2025-7340: HT Contact Form Widget For Elementor Page Builder & Gutenberg Blocks & Form Builder - Unrestricted File Upload

  • Cve: CVE-2025-7340
  • Name: HT Contact Form Widget For Elementor Page Builder & Gutenberg Blocks & Form Builder - Unrestricted File Upload
  • 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.
  • Impact: Unauthenticated attackers can upload arbitrary files, potentially leading to remote code execution and full server compromise.
  • Remediation: Update to the latest version beyond 2.2.1.
  • Vulnerability type: unrestricted_file_upload
  • Vulnerability impact: remote_code_execution, file_system_write
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.05986
  • Epss percentile: 0.93491
  • Assignee: [email protected]
  • Published at: 2025-07-15T05:15:28Z
  • Age in days: 497
  • Modified at: 2026-06-17T10:04:45Z
  • Patch available: yes
  • Public exploits total: 4
  • References total: 5
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-7340
  • Nvd status: modified
  • Checked, none or zero: public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-434Unrestricted Upload of File with Dangerous Type

Known exploited entries

ListAdded dateDue dateRansomware use
vulncheck2026-05-04—no

Nuclei templates

IdUrl
CVE-2025-7340https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-7340.yaml

Public exploits

UrlSourceAdded date
https://github.com/Kai-One001/WordPress-HT-Contact-CVE-2025-7340-RCEpoc-in-github2025-08-04
https://github.com/Kai-One001/WordPress-HT-Contact-CVE-2025-7340-RCE.gitvulncheck-xdb2025-08-04
https://github.com/Nxploited/CVE-2025-7340poc-in-github2025-07-14
https://github.com/Nxploited/CVE-2025-7340.gitvulncheck-xdb2025-07-14

References

UrlSourceTags
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%2FServi…nvdPatch
https://www.wordfence.com/threat-intel/vulnerabilities/id/f0cb666b-bfab-492f-a74e-11dc9b171136?source=cvenvdThird Party Advisory
https://plugins.trac.wordpress.org/browser/ht-contactform/trunk/admin/Includes/Services/FileManager.php#L86nvdProduct
https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-7340.yamlnuclei_templateNuclei Template
https://patchstack.com/database/wordpress/plugin/ht-contactform/vulnerability/wordpress-ht-contact-form-widget-for-elementor-page-builder-gutenberg-blocks-form-builder-plugin-2-2-1-unauthenticated-arb…vulncheckVulncheck Reported Exploitation

Text cells longer than 200 characters are cut (…); version ranges never are. The same query as JSON has every cell whole (the path without .md; MCP format: json).

Products

ProductAffectedPlatform boundSourcesUrl
hasthemes:download_contact_form_7_widget_for_elementor_page_builder_&_gutenberg_blocks< 2.2.2nonvd/v1/products/hasthemes/download_contact_form_7_widget_for_elementor_page_builder_&_gutenberg_blocks

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Known exploited by: vulncheck
  • Vulncheck known exploited since: 2026-05-04
  • Public exploit: yes
  • Public exploit count: 4
  • Public exploit first date: 2025-07-14
  • Remote: yes
  • Checked, none or zero: known exploited, exploitation seen, initial access, authentication required
  • Not known: known exploited since, initial access since, hackerone reports, exposed hosts

Nuclei template