Skip to main content

Drag And Drop Multiple File Upload For Contact Form 7 EUVDEUVD-2026-23459

| CVE-2026-5718 HIGH
Unrestricted Upload of File with Dangerous Type (CWE-434)
2026-04-17 Wordfence GHSA-xj7v-jqv6-v48w
8.1
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Enumerate WordPress plugins via wp-json API
  2. Delivery
    Identify Contact Form 7 upload fields
  3. Exploit
    Craft non-ASCII filename (e.g., shell.phÞ)
  4. Install
    Upload PHP webshell via contact form
  5. C2
    Access uploaded file directly at /wp-content/uploads/
  6. Execute
    Execute commands as web server user
  7. Impact
    Establish persistence and C2

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 site administrator to have configured custom file type blacklist restrictions in the Drag and Drop Multiple File Upload for Contact Form 7 plugin settings - this is NOT the default configuration. Default installations retain merged dangerous extension protections and are not vulnerable via the blacklist path (though non-ASCII filename bypass may still apply depending on configuration). Attacker must craft filenames containing non-ASCII characters (Unicode, extended ASCII, or homoglyphs) to evade wpcf7_antiscript_file_name() sanitization. The Contact Form 7 upload field must be publicly accessible (typically is, as forms are designed for visitor submissions). Limiting factors: Attack complexity rated High (AC:H) because custom blacklist configuration is prerequisite; web server must execute uploaded PHP files in the uploads directory (some hardened WordPress installations disable PHP execution in wp-content/uploads); uploaded file path must be predictable or discoverable for direct access post-upload. Not exploitable against default plugin configurations with standard file type restrictions.

Impact

The CVSS 8.1 score reflects High confidentiality, integrity, and availability impact with High attack complexity and no required privileges or user interaction (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H). The AC:H designation is critical - exploitation requires the site administrator to have configured custom blacklist types (not default configuration) AND the attacker to craft non-ASCII filenames that bypass sanitization. No EPSS score provided in input data. Not listed in CISA KEV, indicating no confirmed widespread exploitation. However, Wordfence's detailed disclosure with exact vulnerable code line numbers (inc/dnd-upload-cf7.php lines 62, 883, 970, 987) significantly lowers the barrier to proof-of-concept development. The 'RCE' and 'File Upload' tags confirm maximum severity if exploited. Real-world risk assessment: HIGH for sites using this plugin with custom blacklist configurations, MEDIUM-LOW for default installations since the custom blacklist prerequisite is non-default. The PHP webshell upload capability enables full server compromise, making this a priority for affected installations despite AC:H. Organizations should verify whether custom file type restrictions are configured before deprioritizing this CVE based on attack complexity alone.

Exploit ScenarioDerived

An unauthenticated attacker identifies a WordPress site running the vulnerable plugin with custom file type restrictions configured (detectable via Contact Form 7 form behavior or WordPress REST API enumeration). The attacker crafts a malicious filename using non-ASCII characters such as 'backdoor.phÞ' or Unicode homoglyphs that resemble legitimate extensions but bypass wpcf7_antiscript_file_name() sanitization. They submit this file through the Contact Form 7 upload field, which accepts it because the custom blacklist replaced rather than merged with default protections. The PHP webshell uploads to wp-content/uploads/, and the attacker accesses it directly via browser to execute arbitrary commands with web server privileges, establishing persistent access for data exfiltration or lateral movement.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 17, 2026

Remote code execution in Drag and Drop Multiple File Upload for Contact Form 7 plugin (WordPress) versions ≤1.3.9.6 allows unauthenticated attackers to upload PHP webshells via dual file validation weaknesses. The plugin's custom blacklist configuration overwrites default protections instead of merging, and non-ASCII filenames bypass the wpcf7_antiscript_file_name() sanitizer. CVSS 8.1 with High attack complexity (AV:N/AC:H/PR:N/UI:N). Wordfence reported; patch released in changeset 3508522. No KEV listing or confirmed public exploitation, but proof-of-concept feasible given detailed vulnerable code references (lines 62, 883, 970, 987).

RemediationAI

Upgrade immediately to version 1.3.9.7 or later, which addresses both the blacklist merging logic and non-ASCII filename sanitization issues per WordPress plugin repository changeset 3508522 (https://plugins.trac.wordpress.org/changeset/3508522/drag-and-drop-multiple-file-upload-contact-form-7). The patch merges custom blacklists with default dangerous extensions and strengthens wpcf7_antiscript_file_name() to handle Unicode characters. If immediate patching is not feasible, implement these temporary controls: (1) Remove all custom file type blacklist configurations to restore default protections - accept the trade-off of potentially blocking legitimate file types users previously uploaded; (2) Configure web server rules to block execution of .php, .phtml, .php5, .php7 files in the wp-content/uploads directory (for Apache, use 'php_flag engine off' in .htaccess; for Nginx, remove php location blocks for uploads path) - note this may break legitimate upload processing scripts if poorly configured; (3) Deploy file integrity monitoring on wp-content/uploads to detect unexpected PHP files; (4) Review existing uploads for suspicious PHP files created since plugin installation. Each workaround has limitations and should not replace upgrading.

Affected VersionsENISA

Drag and Drop Multiple File Upload for Contact Form 7 0 ≤1.3.9.6

Affected Packages

euvd drag_and_drop_multiple_file_upload_for_contact_form_7 no fix

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 Contact Form 7 extension plugin. The plugin implements file upload handling with two critical flaws: (1) When administrators configure custom file type blacklists, the plugin replaces the default dangerous extension denylist (e.g., .php, .phtml, .php5) rather than merging additions, leaving critical extensions unprotected. (2) The wpcf7_antiscript_file_name() function designed to sanitize filenames fails when processing non-ASCII characters, allowing attackers to craft filenames like 'shell.phÞ' or using Unicode homoglyphs to evade detection. The affected CPE (cpe:2.3:a:glenwpcoder:drag_and_drop_multiple_file_upload_for_contact_form_7) identifies the specific product. Vulnerable code sections at lines 62 (blacklist logic), 883-970 (filename handling), and 987 (upload execution) confirm the dual-path bypass mechanism. This is a classic defense-in-depth failure where two independent security controls both fail under specific conditions.

Know when Drag And Drop Multiple 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

NVD PRIMARY 8.1 HIGH
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

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

The Drag and Drop Multiple File Upload for Contact Form 7 plugin for WordPress is vulnerable to arbitrary file upload in versions up to, and including, 1.3.9.6. This is due to insufficient file type validation that occurs when custom blacklist types are configured, which replaces the default dangerous extension denylist instead of merging with it, and the wpcf7_antiscript_file_name() sanitization function being bypassed for filenames containing non-ASCII characters. This makes it possible for unauthenticated attackers to upload arbitrary files, such as PHP files, to the server, which can be leveraged to achieve remote code execution.

Executive ViewAI

Why It Matters

The Drag and Drop Multiple File Upload for Contact Form 7 WordPress plugin (versions ≤1.3.9.6) contains a remote code execution vulnerability that permits unauthenticated attackers to upload malicious PHP files, potentially gaining full control of affected websites. Organizations using this plugin face immediate risk of website compromise, data theft, and malware distribution without intervention.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable plugin immediately; (2) Configure web server (Apache/Nginx) to prevent PHP execution in wp-content/uploads/ and plugin directories via .htaccess or server configuration; (3) Implement strict file upload restrictions at application level; (4) Deploy Web Application Firewall rules to block suspicious upload patterns and PHP file uploads; (5) Monitor upload directories for unauthorized PHP files; (6) Restrict file upload functionality to authenticated administrators only if alternative plugin selected.

Threat Intelligence Overview

EPSS Score
0.1%
Top 69% exploitable
Exploit
POC
Public exploit code exists
Social Media
2
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

60
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy