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
Lifecycle Timeline
5DescriptionCVE.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.
AnalysisAI
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).
Technical ContextAI
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.
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.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-23459
GHSA-xj7v-jqv6-v48w