Drag and Drop Multiple File Upload for Contact Form 7 <= 1.3.9.6 - Unauthenticated Limited Arbitrary File Read via mfile Field

7.5
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CVE CVE-2026-5710
CVSS 7.5 (High)
Publicly Published April 17, 2026
Last Updated April 17, 2026
Researcher Osvaldo Noe Gonzalez Del Rio (Os) - krei.dev | ogbuilders.io

Description

The Drag and Drop Multiple File Upload for Contact Form 7 plugin for WordPress is vulnerable to Path Traversal leading to Arbitrary File Read in versions up to and including 1.3.9.6. This is due to the plugin using client-supplied mfile[] POST values as the source of truth for email attachment selection without performing any server-side upload provenance check, path canonicalization, or directory containment boundary enforcement. In dnd_wpcf7_posted_data(), each user-submitted filename is directly appended to the plugin's upload URL without sanitization. In dnd_cf7_mail_components(), the URL is converted back to a filesystem path using str_replace() and only file_exists() is used as the acceptance check before attaching the file to the outgoing CF7 email. This makes it possible for unauthenticated attackers to read and exfiltrate arbitrary files readable by the web server process via path traversal sequences in the mfile[] parameter, with files being disclosed as email attachments. Note: This vulnerability is limited to the 'wp-content' folder due to the wpcf7_is_file_path_in_content_dir() function in the Contact Form 7 plugin.

References

Share

Vulnerability Details for Drag and Drop Multiple File Upload for Contact Form 7

Software Type Plugin
Software Slug drag-and-drop-multiple-file-upload-contact-form-7 (view on wordpress.org)
Patched? Yes
Remediation Update to version 1.3.9.7, or a newer patched version
Affected Version
  • <= 1.3.9.6
Patched Version
  • 1.3.9.7

Recent vulnerabilities in Drag and Drop Multiple File Upload for Contact Form 7

# Title CVE ID CVSS Researchers Date
1 Drag and Drop Multiple File Upload for Contact Form 7 <= 1.3.9.7 - Authenticated (Administrator+) Stored Cross-Site Scripting via 'drag_n_drop_text' and 'drag_n_drop_browse_text' Settings CVE-2026-8991 4.4 Bao Luu Gia Nguyen June 5, 2026
2 Drag and Drop Multiple File Upload for Contact Form 7 <= 1.3.9.7 - Unauthenticated Stored Cross-Site Scripting CVE-2026-49055 7.2 fayespiegel June 3, 2026
3 Drag and Drop Multiple File Upload for Contact Form 7 <= 1.3.9.7 - Unauthenticated Arbitrary File Upload via Non-ASCII Filename Blacklist Bypass CVE-2026-5718 8.1 Leonid Semenenko (lsemenenko), Mitchell April 17, 2026
4 Drag and Drop Multiple File Upload for Contact Form 7 <= 1.3.9.5 - Unauthenticated Arbitrary File Upload CVE-2026-3459 8.1 Thomas Sanzey March 5, 2026
5 Drag and Drop Multiple File Upload for Contact Form 7 <= 1.3.9.2 - Missing Authorization to Unauthenticated File Deletion CVE-2025-14457 3.7 shark3y January 14, 2026
6 Drag and Drop Multiple File Upload – Contact Form 7 <= 1.3.9.2 - Unauthenticated Limited Arbitrary File Upload CVE-2025-14842 6.1 andrea bocchetti January 6, 2026
7 Drag and Drop Multiple File Upload for Contact Form 7 <= 1.3.9.0 - Directory Traversal via `wpcf7_guest_user_id` Cookie CVE-2025-8464 5.3 Thien Tran August 15, 2025
8 Drag and Drop Multiple File Upload for Contact Form 7 <= 1.3.8.9 - Unauthenticated Arbitrary File Upload via Insufficient Blacklist Checks CVE-2025-3515 8.1 mikemyers June 16, 2025
9 Drag and Drop Multiple File Upload for Contact Form 7 <= 1.3.8.7 - Unauthenticated PHP Object Injection via PHAR to Arbitrary File Deletion CVE-2025-2485 7.5 Phat RiO March 27, 2025
10 Drag and Drop Multiple File Upload for Contact Form 7 <= 1.3.8.7 - Unauthenticated Arbitrary File Deletion CVE-2025-2328 8.8 Phat RiO March 27, 2025

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation