CVE-2025-7360CWE-22

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

Critical · published July 15, 2025

CVSS v3.1
9.1
EPSS
1%
Percentile
73.4
In the wild
Unconfirmed
What it is

🚨 A missing security check lets attackers move any file on your server with just one upload! This vulnerability in the HT Contact Form Widget for WordPress is nothing to shrug off. 🔥 Think of it like a postal worker who delivers packages without checking the labels — any box can end up in the wrong place. An attacker can exploit this oversight to relocate sensitive files, like your wp-config.php, right where they want them. The consequences could be absolutely devastating! An attacker might not only move files but could also gain remote code execution access, potentially compromising your entire site. If the wrong file is moved, they could take control of your server and wreak havoc.

Put simply

Think of it like a postal worker who delivers packages without checking the labels — any box can end up in the wrong place. An attacker can exploit this oversight to relocate sensitive files, like your wp-config.php, right where they want them. This vulnerability stems from insufficient file path validation in the handle_files_upload() function, allowing unauthenticated users to manipulate file movements on the server.

What to do

The consequences could be absolutely devastating! An attacker might not only move files but could also gain remote code execution access, potentially compromising your entire site. If the wrong file is moved, they could take control of your server and wreak havoc. Update the HT Contact Form Widget to version 2.2.2 or later immediately. Consider implementing additional security measures to validate file uploads and restrict file access. Regularly audit your WordPress plugins to ensure they are secured against such flaws. You've got this! Follow these steps, and you'll be on your way to securing your site in no time. 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01461 · 73.4th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2025-07-15T04:23Z
EPSS history
Timeline
  • 15 JUL 04:23Z
    HT Contact Form Widget For Elementor Page Builder & Gutenberg Blocks & Form Builder. <= 2.2.1 - Directory Traversal to Arbitrary File Move
    cvelistv5