CVE-2025-7340
Unknown Unknown - Not Provided

BaseFortify

Vulnerability report for CVE-2025-7340, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2025-07-15

Last updated on: 2026-04-08

Assigner: Wordfence

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2025-07-15
Last Modified
2026-04-08
Generated
2026-10-23
AI Q&A
2025-07-15
EPSS Evaluated
2026-10-20
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-434 The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability exists in the HT Contact Form Widget plugin for WordPress, where the function responsible for handling temporary file uploads (temp_file_upload) lacks proper file type validation. This allows unauthenticated attackers to upload arbitrary files to the server. Because the plugin does not sufficiently check the file types before accepting uploads, attackers can potentially upload malicious files that could lead to remote code execution on the affected site.

Detection Guidance

Detection can involve checking for unexpected or suspicious files in the upload directory used by the plugin, typically located at wp_upload_dir()['basedir']/ht_form/temp. You can list files in this directory and look for unusual file types or recently created files. For example, on a Linux server, you can run commands like: 1) To list files with timestamps: `ls -la --time-style=full-iso /path/to/wp-content/uploads/ht_form/temp` 2) To find recently modified files (e.g., last 1 day): `find /path/to/wp-content/uploads/ht_form/temp -type f -mtime -1` 3) To check for PHP or other executable files: `find /path/to/wp-content/uploads/ht_form/temp -type f \( -name "*.php" -o -name "*.phtml" \)` Additionally, monitoring web server logs for suspicious POST requests to the plugin's upload endpoints may help detect exploitation attempts. [1]

Impact Analysis

The vulnerability can have severe impacts including allowing attackers to upload arbitrary files to your server without authentication. This can lead to remote code execution, meaning attackers could run malicious code on your server, potentially taking control of your website, stealing data, defacing your site, or using your server for further attacks.

Mitigation Strategies

Immediate mitigation steps include: 1) Updating the HT Contact Form Widget plugin to a version later than 2.2.1 where the vulnerability is fixed. 2) If an update is not immediately available, restrict access to the upload directories by applying proper file permissions and web server rules to prevent execution of uploaded files. 3) Monitor and clean the temporary upload directory regularly to remove any suspicious files. 4) Disable or restrict the vulnerable file upload functionality if possible until a patch is applied. 5) Implement Web Application Firewall (WAF) rules to block malicious upload attempts targeting this plugin. [1]

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-7340. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart