The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-7360

CVE-2025-7360: HT Contact Form Widget for Elementor RCE

CVE-2025-7360 is a remote code execution vulnerability in HT Contact Form Widget for Elementor allowing unauthenticated attackers to move arbitrary files. This article covers technical details, affected versions, and mitigation.

Published: March 25, 2026

CVE-2025-7360 Overview

CVE-2025-7360 is a critical arbitrary file moving vulnerability affecting the HT Contact Form Widget For Elementor Page Builder & Gutenberg Blocks & Form Builder plugin for WordPress. The vulnerability exists due to insufficient file path validation in the handle_files_upload() function, allowing unauthenticated attackers to move arbitrary files on the server. This weakness can easily lead to remote code execution when critical files such as wp-config.php are moved to attacker-accessible locations.

Critical Impact

Unauthenticated attackers can move arbitrary files on WordPress servers, potentially leading to full site compromise and remote code execution by relocating sensitive configuration files.

Affected Products

  • HT Contact Form Widget For Elementor Page Builder & Gutenberg Blocks versions up to and including 2.2.1
  • WordPress installations using the vulnerable plugin versions
  • Hasthemes Download Contact Form 7 Widget For Elementor Page Builder & Gutenberg Blocks

Discovery Timeline

  • 2025-07-15 - CVE-2025-7360 published to NVD
  • 2025-07-16 - Last updated in NVD database

Technical Details for CVE-2025-7360

Vulnerability Analysis

This vulnerability is classified as CWE-22 (Path Traversal), a weakness that occurs when software uses external input to construct a pathname that should be within a restricted directory, but fails to properly neutralize special elements that can cause the pathname to resolve to a location outside of that directory.

The vulnerable handle_files_upload() function within the plugin's Submission.php endpoint fails to adequately validate file paths before executing file move operations. Since no authentication is required to trigger this functionality, any remote attacker with network access to the WordPress installation can exploit this vulnerability.

The attack surface is particularly dangerous because WordPress sites typically store database credentials, authentication keys, and sensitive configuration data in the wp-config.php file. By moving this file to a publicly accessible location, attackers can extract credentials and gain complete control over the target WordPress installation and its database.

Root Cause

The root cause of CVE-2025-7360 lies in the lack of proper input sanitization and path canonicalization within the handle_files_upload() function located in admin/Includes/Api/Endpoints/Submission.php. The function accepts user-supplied file path parameters without validating that the resulting paths remain within the intended upload directory. This allows path traversal sequences to be processed, enabling attackers to reference files anywhere on the filesystem that the web server process has permissions to access.

Attack Vector

The vulnerability is exploitable remotely over the network without requiring any authentication or user interaction. An attacker can craft malicious requests to the vulnerable API endpoint, supplying path traversal sequences (such as ../) in the file path parameters. This allows them to specify source and destination paths outside the intended upload directory.

A successful attack typically follows this pattern: the attacker identifies a WordPress site running the vulnerable plugin version, crafts a request to the handle_files_upload() endpoint with manipulated file path parameters, and moves sensitive files like wp-config.php to a web-accessible location. Once moved, the attacker retrieves the configuration file to extract database credentials, then uses those credentials to compromise the database and potentially achieve remote code execution through methods such as inserting malicious administrator accounts or plugin code.

Detection Methods for CVE-2025-7360

Indicators of Compromise

  • Unexpected file movements or missing critical configuration files such as wp-config.php
  • Suspicious HTTP requests to /wp-content/plugins/ht-contactform/ endpoints containing path traversal patterns
  • Anomalous web server access logs showing requests with ../ sequences targeting the plugin's API
  • Database access from unexpected IP addresses or locations following potential credential theft

Detection Strategies

  • Monitor web application firewall (WAF) logs for path traversal attempts containing ../ or encoded variants targeting the HT Contact Form plugin
  • Implement file integrity monitoring (FIM) on critical WordPress files including wp-config.php, .htaccess, and core WordPress files
  • Review web server access logs for unusual POST requests to the plugin's Submission endpoint
  • Deploy WordPress security plugins capable of detecting unauthorized file system operations

Monitoring Recommendations

  • Enable verbose logging on web servers and WordPress installations to capture detailed request information
  • Configure alerts for file system changes in the WordPress root directory and critical subdirectories
  • Monitor for new or modified files in web-accessible directories that could indicate relocated sensitive configurations
  • Implement network monitoring to detect unusual outbound connections that may indicate data exfiltration post-compromise

How to Mitigate CVE-2025-7360

Immediate Actions Required

  • Update the HT Contact Form Widget For Elementor Page Builder & Gutenberg Blocks plugin to version 2.2.2 or later immediately
  • Review file system for any signs of unauthorized file movements or missing configuration files
  • Rotate all WordPress authentication keys and database credentials if compromise is suspected
  • Audit web server access logs for evidence of exploitation attempts targeting the vulnerable endpoint

Patch Information

The vulnerability has been addressed in the plugin update. Organizations should apply the patch available through the WordPress Plugin Code Change which introduces proper file path validation to prevent path traversal attacks. Update the plugin through the WordPress admin dashboard or download the latest version from the WordPress Plugin Directory. For additional technical details, refer to the Wordfence Vulnerability Report.

Workarounds

  • Temporarily disable the HT Contact Form Widget For Elementor Page Builder plugin until the patch can be applied
  • Implement web application firewall rules to block requests containing path traversal sequences targeting the plugin
  • Restrict access to the WordPress admin and plugin API endpoints using IP whitelisting where feasible
  • Move sensitive configuration files outside the web root or implement additional server-level access controls
bash
# Example: Disable the vulnerable plugin via WP-CLI
wp plugin deactivate ht-contactform --path=/var/www/html/wordpress

# Example: Block path traversal attempts in Apache .htaccess
# Add to WordPress root .htaccess file
RewriteEngine On
RewriteCond %{QUERY_STRING} (\.\./|\.\.\\) [NC,OR]
RewriteCond %{REQUEST_URI} (\.\./|\.\.\\) [NC]
RewriteRule .* - [F,L]

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechHasthemes

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability1.11%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-22
  • Technical References
  • WordPress Plugin HT Contact Form

  • Wordfence Vulnerability Report
  • Vendor Resources
  • WordPress Plugin Code Change
  • Related CVEs
  • CVE-2025-7340: HT Contact Form Elementor Widget RCE Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English