Vulnerability Description
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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://plugins.trac.wordpress.org/browser/drag-and-drop-file-upload-for-contact
- https://plugins.trac.wordpress.org/browser/drag-and-drop-file-upload-for-contact
- https://plugins.trac.wordpress.org/browser/drag-and-drop-file-upload-for-contact
- https://plugins.trac.wordpress.org/browser/drag-and-drop-file-upload-for-contact
- https://plugins.trac.wordpress.org/browser/drag-and-drop-file-upload-for-contact
- https://plugins.trac.wordpress.org/browser/drag-and-drop-file-upload-for-contact
- https://plugins.trac.wordpress.org/browser/drag-and-drop-file-upload-for-contact
- https://plugins.trac.wordpress.org/browser/drag-and-drop-file-upload-for-contact
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old
- https://www.wordfence.com/threat-intel/vulnerabilities/id/0548608d-17d5-46f4-9d6
FAQ
What is CVE-2026-5364?
CVE-2026-5364 is a vulnerability with a CVSS score of 8.1 (HIGH). 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 exte...
How severe is CVE-2026-5364?
CVE-2026-5364 has been rated HIGH with a CVSS base score of 8.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-5364?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.