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

Medium 5.4 CWE-79Fixed in 1.4.2
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

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0