Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconIdentify WordPress site with vulnerable plugin
-
DeliveryCraft malicious filename with special characters
-
ExploitSubmit file upload via Contact Form 7
-
InstallBypass validation with unsanitized extension
-
C2Sanitization strips characters creating .php file
-
ExecuteExploit .htaccess misconfiguration or bypass
-
ImpactPredict/discover randomized filename
-
Step 8Execute uploaded PHP webshell
-
Step 9Achieve remote code execution
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK
2 techniques across 2 tactics: Command and Control, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires Contact Form 7 with Drag and Drop File Upload plugin (≤1.1.3) installed and active on a WordPress site with file upload forms exposed to unauthenticated users. Successful exploitation depends on bypassing two defensive controls: (1) .htaccess file restrictions that prevent direct execution of PHP files in the upload directory must be circumvented through web server misconfiguration, alternate execution vectors (e.g., script inclusion vulnerabilities), or .htaccess parsing failures; (2) randomized filename generation must be defeated through information disclosure vulnerabilities, predictable random number generation, or race condition timing attacks to determine the saved filename path. The vulnerability itself requires no special configuration - default plugin installation with any file upload form is vulnerable to the upload stage, but execution requires overcoming the additional barriers. Attack complexity rated HIGH (AC:H) specifically due to these post-upload execution requirements, not the upload bypass itself. |
| Impact | The CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H) indicates network-accessible remote code execution requiring no privileges or user interaction, but with high attack complexity (AC:H). This high complexity rating aligns with the description's note about .htaccess protections and filename randomization limiting exploitability. Real-world risk is significantly lower than the 8.1 base score suggests due to multiple defensive layers: (1) .htaccess file likely prevents direct execution of uploaded PHP files, (2) randomized filenames make it difficult for attackers to predict upload paths for execution, and (3) the sanitization bypass requires precise timing and character manipulation. No EPSS score available to validate exploitation probability. No CISA KEV listing indicates no confirmed active exploitation. No public POC identified in references. This represents a theoretical high-severity vulnerability with substantial practical barriers to exploitation - priority should focus on patching WordPress sites with this plugin installed, but urgency is moderate rather than critical given the defensive controls in place. The 8.1 score reflects maximum theoretical impact if all mitigations are bypassed, not typical real-world risk. |
| Exploit ScenarioDerived | An unauthenticated attacker crafts a malicious file upload request to a WordPress site running the vulnerable plugin, manipulating the filename to include special characters that will be stripped during sanitization (e.g., 'webshell.php$.jpg'). The plugin's validation logic checks the unsanitized extension and incorrectly identifies it as a safe image file. During the save process, sanitization removes the '$' character, resulting in 'webshell.php' being written to the uploads directory. If the attacker can bypass .htaccess restrictions (through misconfiguration or web server vulnerabilities) and determine the randomized filename, they can execute the uploaded PHP webshell to achieve remote code execution with web server privileges. No public POC identified at time of analysis, suggesting the bypass techniques for .htaccess and filename randomization are non-trivial. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 24, 2026
Remote code execution in Drag and Drop File Upload for Contact Form 7 plugin (≤1.1.3) allows unauthenticated attackers to upload arbitrary PHP files via a sanitization bypass vulnerability. The flaw exploits a race condition where file extension validation occurs on unsanitized input while the file saves with a sanitized extension, enabling special characters like '$' to be stripped mid-process. Exploitability is constrained by .htaccess restrictions and filename randomization, reducing real-world risk despite the 8.1 CVSS score. EPSS data not available; no active exploitation or POC publicly confirmed at time of analysis.
RemediationAI
Update to version 1.1.4 or later if available, as indicated by the changeset reference https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3498020%40drag-and-drop-file-upload-for-contact-form-7&new=3498020%40drag-and-drop-file-upload-for-contact-form-7 showing code changes addressing the vulnerability. If immediate patching is not possible, implement compensating controls: (1) disable the plugin entirely until patched version is installed, with the trade-off of losing drag-and-drop file upload functionality in Contact Form 7 forms; (2) restrict file upload capabilities to authenticated users only via WordPress role configuration, which conflicts with the plugin's intended use case for public form submissions; (3) add server-level MIME type validation and execution restrictions in web server configuration beyond .htaccess, though this requires sysadmin access; (4) implement web application firewall (WAF) rules to block requests with suspicious filename patterns containing special characters before sanitization. Monitor WordPress plugin repository for official security advisories from the vendor (addonsorg).
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability stems from CWE-434 (Unrestricted Upload of File with Dangerous Type) in a WordPress plugin that extends Contact Form 7 with file upload capabilities. The flaw involves a time-of-check-time-of-use (TOCTOU) issue where the plugin extracts and validates the file extension before sanitization, but allows attackers to control the file type parameter independently of administrator-configured restrictions. The validation logic checks the unsanitized extension while the save operation uses a sanitized version, creating an exploitable gap. When an attacker crafts a filename with special characters (e.g., 'malicious.php$.jpg'), the validation sees '.jpg' as safe, but sanitization strips the '$' during save, resulting in 'malicious.php' being written to disk. The affected component (cpe:2.3:a:addonsorg:drag_and_drop_file_upload_for_contact_form_7) processes file uploads in frontend/index.php and backend/index.php, with the vulnerable code path visible in lines 147-181 of the backend handler and line 15 of the frontend handler according to source code references.
Know when Drag And Drop File Upload For Contact Form 7 gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
DescriptionCVE.org
The Drag and Drop File Upload for Contact Form 7 plugin for WordPress is vulnerable to arbitrary file upload in versions up to, and including, 1.1.3. This is due to the plugin extracting the file extension before sanitization occurs and allowing the file type parameter to be controlled by the attacker rather than being restricted to administrator-configured values, which when combined with the fact that validation occurs on the unsanitized extension while the file is saved with a sanitized extension, allows special characters like '$' to be stripped during the save process. This makes it possible for unauthenticated attackers to upload arbitrary PHP files and potentially achieve remote code execution, however, an .htaccess file and name randomization is in place which restricts real-world exploitability.
Executive ViewAI
The Drag and Drop File Upload for Contact Form 7 plugin (versions ≤1.1.3) contains a remote code execution vulnerability that allows unauthenticated attackers to upload malicious PHP files by bypassing file extension validation. Organizations using this plugin risk unauthorized code execution on their web servers, potentially leading to complete site compromise, data theft, and lateral movement into backend systems.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable the plugin immediately; (2) Configure .htaccess with 'php_flag engine off' in upload directories; (3) Rename upload folder and restrict direct web access; (4) Implement strict file type whitelisting at application level; (5) Enable request logging to detect exploitation attempts; (6) Deploy WAF rules blocking PHP file uploads with special characters.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
EUVD-2026-25399
GHSA-8q7x-g4f6-63gp
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB