CVE-2026-5364 json
Drag and Drop File Upload for Contact Form 7 <= 1.1.3 - Unauthenticated Arbitrary File Upload via sanitize_file_name Bypass
published 2026-04-24 6 mo ago modified 2026-06-17 4 mo ago also EUVD-2026-25399
- cvss
- 8.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 64%
- public exploits
- 0
- none known
Summary
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.
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 6 mo ago
Exploit prediction
1.06% chance of exploitation in the next 30 days, higher than 64% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected products
- addonsorg Drag and Drop File Upload for Contact Form 7
Classification
- Weakness
-
- CWE-434 Unrestricted Upload of File with Dangerous Type
- Technology feeds
References
- wordfence.com /threat-intel/vulnerabilities/id/0548608d-17d5-46f4-9d64-6e3b0552bf9d?source=cve
- plugins.trac.wordpress.org /browser/drag-and-drop-file-upload-for-contact-form-7/trunk/backend/index.php#L181
- plugins.trac.wordpress.org /browser/drag-and-drop-file-upload-for-contact-form-7/tags/1.1.2/backend/index.php#L181
- plugins.trac.wordpress.org /browser/drag-and-drop-file-upload-for-contact-form-7/trunk/backend/index.php#L158
- plugins.trac.wordpress.org /browser/drag-and-drop-file-upload-for-contact-form-7/tags/1.1.2/backend/index.php#L158
- plugins.trac.wordpress.org /browser/drag-and-drop-file-upload-for-contact-form-7/trunk/backend/index.php#L147
- plugins.trac.wordpress.org /browser/drag-and-drop-file-upload-for-contact-form-7/tags/1.1.2/backend/index.php#L147
- plugins.trac.wordpress.org /browser/drag-and-drop-file-upload-for-contact-form-7/trunk/frontend/index.php#L15
- plugins.trac.wordpress.org /browser/drag-and-drop-file-upload-for-contact-form-7/tags/1.1.2/frontend/index.php#L15
- plugins.trac.wordpress.org /changeset?sfp_email=&sfph_mail=&reponame=&old=3498020%40drag-and-drop-file-upload-for-contact-form-7&new=3498
Sources
- CVE List CVE-2026-5364
- NVD CVE-2026-5364
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.