CVE-2025-7360

HT Contact Form Widget For Elementor Page Builder & Gutenberg Blocks & Form Builder. <= 2.2.1 - Directory Traversal to Arbitrary File Move

Published Jul 15, 2025 CVSS 3.1 · 9.1 Critical EPSS 1.7% KEV · Not listed
Description
The HT Contact Form Widget For Elementor Page Builder & Gutenberg Blocks & Form Builder plugin for WordPress is vulnerable to arbitrary file moving due to insufficient file path validation in the handle_files_upload() function in all versions up to, and including, 2.2.1. This makes it possible for unauthenticated attackers to move arbitrary files on the server, which can easily lead to remote code execution when the right file is moved (such as wp-config.php).

Analysis

AI-generated

Technical impact

The HT Contact Form widget for Elementor and Gutenberg blocks contains a Directory Traversal flaw in its file upload handling that permits an unauthenticated attacker to move any file on the server. By specifying a crafted file path, an actor can overwrite critical files such as wp-config.php, thereby enabling arbitrary code execution. The weakness is a classic directory traversal bug (CWE-22).

Affected Systems

The vulnerability affects the HT Contact Form – Drag & Drop Form Builder plugin for WordPress, versions up to and including 2.2.1, running on a WordPress installation.

Risk and Exploitability

The CVSS score of 9.1 signals severe impact, and the EPSS score of 1% indicates that while exploitation is feasible, current threat data suggests a low but non-zero probability of attack. The plugin’s upload endpoint is publicly accessible, so attackers need only craft a malicious request; no prior authentication is required. Because the flaw can overwrite arbitrary files, the potential for full system compromise is high, and the vulnerability is not yet listed in the CISA KEV catalog.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the HT Contact Form plugin to the latest version that removes the file path validation flaw.
  • If an upgrade cannot be applied, restrict HTTP access to the upload endpoint (for example, by using WordPress role restrictions or .htaccess rules to allow only trusted users).
  • Modify the plugin source to enforce strict path validation, rejecting any filenames that contain traversal sequences or absolute paths, thereby eliminating the ability to move files.

Generated by OpenCVE AI on June 18, 2026 at 06:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-21413 The HT Contact Form Widget For Elementor Page Builder & Gutenberg Blocks & Form Builder. plugin for WordPress is vulnerable to arbitrary file moving due to insufficient file path validation in the handle_files_upload() function in all versions up to, and including, 2.2.1. This makes it possible for unauthenticated attackers to move arbitrary files on the server, which can easily lead to remote code execution when the right file is moved (such as wp-config.php).
History
Type Values Removed Values Added
Description The HT Contact Form Widget For Elementor Page Builder & Gutenberg Blocks & Form Builder. plugin for WordPress is vulnerable to arbitrary file moving due to insufficient file path validation in the handle_files_upload() function in all versions up to, and including, 2.2.1. This makes it possible for unauthenticated attackers to move arbitrary files on the server, which can easily lead to remote code execution when the right file is moved (such as wp-config.php). The HT Contact Form Widget For Elementor Page Builder & Gutenberg Blocks & Form Builder plugin for WordPress is vulnerable to arbitrary file moving due to insufficient file path validation in the handle_files_upload() function in all versions up to, and including, 2.2.1. This makes it possible for unauthenticated attackers to move arbitrary files on the server, which can easily lead to remote code execution when the right file is moved (such as wp-config.php).
Type Values Removed Values Added
First Time appeared Hasthemes
Hasthemes download Contact Form 7 Widget For Elementor Page Builder \& Gutenberg Blocks
CPEs cpe:2.3:a:hasthemes:download_contact_form_7_widget_for_elementor_page_builder_\&_gutenberg_blocks:*:*:*:*:*:wordpress:*:*
Vendors & Products Hasthemes
Hasthemes download Contact Form 7 Widget For Elementor Page Builder \& Gutenberg Blocks
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics epss

{'score': 0.00215}

Type Values Removed Values Added
Description The HT Contact Form Widget For Elementor Page Builder & Gutenberg Blocks & Form Builder. plugin for WordPress is vulnerable to arbitrary file moving due to insufficient file path validation in the handle_files_upload() function in all versions up to, and including, 2.2.1. This makes it possible for unauthenticated attackers to move arbitrary files on the server, which can easily lead to remote code execution when the right file is moved (such as wp-config.php).
Title HT Contact Form Widget For Elementor Page Builder & Gutenberg Blocks & Form Builder. <= 2.2.1 - Directory Traversal to Arbitrary File Move
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 5:27 PM
Reserved
Jul 8, 2025, 4:10 PM
Status
Modified
Published
Jul 15, 2025, 5:15 AM
Modified
Jun 17, 2026, 10:04 AM