CVE-2025-7360: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in htplugins HT Contact Form – Drag & Drop Form Builder for WordPress
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).
AI Analysis
Technical Summary
The HT Contact Form Widget for Elementor Page Builder & Gutenberg Blocks & Form Builder plugin for WordPress suffers from a CWE-22 path traversal vulnerability due to improper limitation of pathname to a restricted directory. Specifically, the handle_files_upload() function does not adequately validate file paths, enabling unauthenticated attackers to move arbitrary files on the server. This flaw affects all versions up to 2.2.1 and can be exploited remotely without authentication or user interaction. Successful exploitation can lead to remote code execution by relocating critical files such as wp-config.php.
Potential Impact
An attacker can move arbitrary files on the affected server without authentication, potentially leading to remote code execution. This compromises the integrity and availability of the server and may allow full system compromise. The CVSS 3.1 score of 9.1 reflects the critical nature of this vulnerability with high impact on integrity and availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official patch or fix is currently documented. Until a patch is available, restrict access to the plugin and consider disabling file upload functionality if possible. Monitor vendor channels for updates and apply official fixes promptly once released.
CVE-2025-7360: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in htplugins HT Contact Form – Drag & Drop Form Builder for WordPress
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).
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The HT Contact Form Widget for Elementor Page Builder & Gutenberg Blocks & Form Builder plugin for WordPress suffers from a CWE-22 path traversal vulnerability due to improper limitation of pathname to a restricted directory. Specifically, the handle_files_upload() function does not adequately validate file paths, enabling unauthenticated attackers to move arbitrary files on the server. This flaw affects all versions up to 2.2.1 and can be exploited remotely without authentication or user interaction. Successful exploitation can lead to remote code execution by relocating critical files such as wp-config.php.
Potential Impact
An attacker can move arbitrary files on the affected server without authentication, potentially leading to remote code execution. This compromises the integrity and availability of the server and may allow full system compromise. The CVSS 3.1 score of 9.1 reflects the critical nature of this vulnerability with high impact on integrity and availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official patch or fix is currently documented. Until a patch is available, restrict access to the plugin and consider disabling file upload functionality if possible. Monitor vendor channels for updates and apply official fixes promptly once released.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-07-08T16:10:04.994Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6875d989a83201eaacccacfd
Added to database: 7/15/2025, 4:31:05 AM
Last enriched: 4/9/2026, 10:43:39 AM
Last updated: 5/8/2026, 4:57:34 PM
Views: 193
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.