# Drag and Drop Multiple File Upload for Contact Form 7 <= 1.4.1 - Unauthenticated Stored Cross-Site Scripting via Uploaded Files

- **ID:** WPSEC-2026-3718
- **Plugin:** Drag and Drop Multiple File Upload for Contact Form 7 (`drag-and-drop-multiple-file-upload-contact-form-7`), https://wordpress.org/plugins/drag-and-drop-multiple-file-upload-contact-form-7/
- **Affected versions:** all versions before 1.4.2
- **Fixed in:** 1.4.2 (Update to 1.4.2 or later.)
- **Severity:** Medium 5.4 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Medium, affected versions Medium (as of 2026-11-23)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/drag-and-drop-multiple-file-upload-contact-form-7
- **Fix released:** 2026-11-22
- **Published:** 2026-11-23
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3718/

## Description

The Drag and Drop Multiple File Upload for Contact Form 7 plugin for WordPress is vulnerable to Stored Cross-Site Scripting via uploaded files in all versions up to, and including, 1.4.1, due to insufficient file name and content validation in the 'dnd_upload_cf7_upload' AJAX upload handler. When a form field allows any file type ('*'), files with no extension or with extensions outside the plugin's blocklist were stored unchanged, and the markup content check only rejected a short list of leading tags. Uploaded files were also served without nosniff or forced-download headers. This makes it possible for unauthenticated attackers to upload files containing arbitrary web scripts that execute in the browser of a user, such as an administrator opening a submitted file link, who accesses the uploaded file.

## References

- https://wpsec.com/vuln/WPSEC-2026-3718/
- https://plugins.svn.wordpress.org/drag-and-drop-multiple-file-upload-contact-form-7/tags/1.4.2/
- https://wordpress.org/plugins/drag-and-drop-multiple-file-upload-contact-form-7/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-3718/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
