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)
- Affected
- all versions before 1.4.2
- Remediation
- Update to 1.4.2 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
- Weakness
- CWE-79
- Usage
- Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-11-23
- Attack surface
- Drag and Drop Multiple File Upload for Contact Form 7 on WPSec AttackSurface
- Fix released
- Published
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/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS