Arbitrary file upload in Glenwpcoder Drag And Drop Multiple File Upload For Contact Form 7
CVE-2026-5718
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.7. 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. The vulnerability was originally reported by Leonid Semenenko (lsemenenko) and partially patched in version 1.3.9.7. A bypass for the patch was separately discovered and reported by Nguyen Hung (Mitchell).
Vulnerability class: Unrestricted File Upload
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.054, 92.8th percentile (scored ); up from 0.035 30 days earlier. About EPSS.
EPSS over last 30 days · oldest: 0.035 · newest: 0.054 · change: +0.019
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
5 public repositories with exploit or proof-of-concept code for this CVE:
- rootdirective-sec/CVE-2026-5718-Lab (1 star, last pushed 2026-05-15)
- kyukazamiqq/cve-2026-5718 (1 star, last pushed 2026-05-08)
- xxconi/CVE-2026-5718-PR-V-EXPLO-T (last pushed 2026-06-10): WORDPRESS
- xxconi/CVE-2026-5718 (last pushed 2026-05-26): CVE-2026-5718: Unauthenticated File Upload To RCE in DnD Upload CF7 Plugin
- rootdirective-sec/cve-2026-5718-Lab (last pushed 2026-05-15)
References
- www.wordfence.com/threat-intel/vulnerabilities/id/38f95d40-a6d4-429c-9872-9d253…
- plugins.trac.wordpress.org/browser/drag-and-drop-multiple-file-upload-contact-f…
- plugins.trac.wordpress.org/browser/drag-and-drop-multiple-file-upload-contact-f…
- plugins.trac.wordpress.org/browser/drag-and-drop-multiple-file-upload-contact-f…
- plugins.trac.wordpress.org/browser/drag-and-drop-multiple-file-upload-contact-f…
- plugins.trac.wordpress.org/changeset/3508522/drag-and-drop-multiple-file-upload…
- plugins.trac.wordpress.org/changeset/3548901/
This CVE has public exploit evidence. See the latest CVEs with public exploits.