CVE-2026-128111: Drag and Drop Multiple File Upload for Contact Form 7 <= 1.4.1 - Unauthenticated Stored Cross-Site Scripting via File Upload with <title>-Prefixed HTML Payload
The Drag and Drop Multiple File Upload for Contact Form 7 plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'upload-file' parameter in all versions up to, and including, 1.4.1 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This requires that the targeted contact form be configured to accept a non-script extension such as .gpx (or any extension outside the HTML/XML/PHP blocklist), and the uploaded file is served without a Content-Type header, causing browsers to MIME-sniff and execute it as text/html.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed to exploitation?
Deployments using versions through 1.4.1 are exposed only where a Contact Form 7 form accepts uploads with a non-script extension, such as .gpx or another extension outside the HTML/XML/PHP blocklist. The uploaded file must also be served without a Content-Type header so that browsers MIME-sniff it as text/html.
Does an attacker need an account or user interaction to exploit this?
No account or privileges are required to upload the crafted payload. Script execution occurs when a user accesses the page containing the injected content.
What conditions must a malicious upload meet?
The payload is delivered through the upload-file parameter and uses an HTML payload prefixed with a title element. It must be uploaded under an allowed non-script extension and subsequently be served without a Content-Type header.
How can administrators assess whether their forms are at risk?
Review Contact Form 7 upload settings for forms that permit extensions outside the HTML/XML/PHP blocklist, including .gpx. Also verify the HTTP response headers for uploaded files; the described execution path depends on files being served without a Content-Type header.