Arbitrary file upload in Addonsorg Drag And Drop File Upload For Contact Form 7
CVE-2026-5364
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.
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.011, 65.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- xxconi/CVE-2026-5364 (1 star, last pushed 2026-05-26): CVE-2026-5364 is a CVSS 8.1 (High) Unauthenticated Arbitrary File Upload vulnerability in the Drag and Drop File Upload for Contact Form 7
References
- www.wordfence.com/threat-intel/vulnerabilities/id/0548608d-17d5-46f4-9d64-6e3b0…
- plugins.trac.wordpress.org/browser/drag-and-drop-file-upload-for-contact-form-7…
- plugins.trac.wordpress.org/browser/drag-and-drop-file-upload-for-contact-form-7…
- plugins.trac.wordpress.org/browser/drag-and-drop-file-upload-for-contact-form-7…
- plugins.trac.wordpress.org/browser/drag-and-drop-file-upload-for-contact-form-7…
- plugins.trac.wordpress.org/browser/drag-and-drop-file-upload-for-contact-form-7…
- plugins.trac.wordpress.org/browser/drag-and-drop-file-upload-for-contact-form-7…
- plugins.trac.wordpress.org/browser/drag-and-drop-file-upload-for-contact-form-7…
- plugins.trac.wordpress.org/browser/drag-and-drop-file-upload-for-contact-form-7…
- plugins.trac.wordpress.org/changeset
This CVE has public exploit evidence. See the latest CVEs with public exploits.