CVE-2026-128111 in Drag and Drop Multiple File Upload for Contact Form 7 Plugin
Summary
by MITRE • 11/26/2026
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.
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Analysis
by VulDB Data Team • 11/26/2026
The vulnerability identified in the Drag and Drop Multiple File Upload for Contact Form 7 plugin affects all versions up to and including 1.4.1. This security flaw represents a critical risk to WordPress environments utilizing this specific extension, allowing unauthenticated attackers to execute arbitrary web scripts within the context of affected websites. The core issue stems from insufficient input sanitization and output escaping mechanisms when handling file uploads through the contact form interface. Specifically, the vulnerability is triggered via the upload-file parameter, which processes user-supplied data without adequate validation against malicious content types or script injection patterns.
The technical mechanism behind this Stored Cross-Site Scripting attack relies on a combination of configuration weaknesses in both the plugin and the web server environment. For an attacker to successfully exploit this flaw, two primary conditions must be met simultaneously. First, the targeted contact form must be configured to accept file uploads with extensions that are not explicitly blocked by the plugin's default blacklist. The documentation notes that non-script extensions such as .gpx or any extension outside the HTML, XML, and PHP blocklist can bypass initial filtering checks. Second, the web server hosting the WordPress site must serve these uploaded files without a proper Content-Type header. When this header is missing, modern browsers engage in MIME-sniffing behavior to determine how to handle the file content. If the browser detects script-like syntax within the file body, it may interpret and execute the content as text/html rather than its actual file type, thereby triggering the execution of injected JavaScript code.
The operational impact of this vulnerability is severe due to its stored nature. Unlike reflected cross-site scripting where malicious scripts are executed only when a victim clicks a specially crafted link, stored XSS persists on the server side. Once an attacker uploads a malicious file containing script payloads, that content becomes part of the website's data structure. Consequently, every user who accesses a page displaying this uploaded content will have their browser execute the injected scripts automatically. This can lead to session hijacking, where attackers steal authentication cookies and take over victim accounts; defacement of the website by altering displayed content; or redirection of users to malicious sites designed for phishing or malware distribution. The lack of required authentication makes this vulnerability particularly dangerous as it lowers the barrier to entry significantly, allowing any internet user with basic technical knowledge to compromise site integrity and user data.
From a classification perspective, this vulnerability aligns with CWE-79 Improper Neutralization of Input During Web Page Generation commonly known as Cross-site Scripting. The specific vector involves stored persistence where malicious input is saved in the application's database or file system and later retrieved for display without proper sanitization. In terms of attack tactics, this falls under MITRE ATT&CK technique T1059 Command and Control via Application Layer Protocol if used to establish persistent access, or more commonly T1189 Drive-by Compromise when leveraging the stored payload to infect visitors. The exploitation also relates to CWE-436 Interpretation Conflict which occurs because of the discrepancy between how the server interprets the file type based on extension and how the browser interprets it based on content sniffing in the absence of explicit headers.
Mitigation strategies should focus on both immediate remediation and long-term security hardening. The most effective solution is to upgrade the Drag and Drop Multiple File Upload plugin to a version newer than 1.4.1 where these input sanitization and output escaping flaws have been addressed by the developers. If upgrading is not immediately possible, administrators can implement server-side configurations to enforce strict Content-Type headers for all uploaded files regardless of extension. This prevents browsers from performing MIME-sniffing that leads to unintended execution contexts. Additionally, implementing a Web Application Firewall with rules specifically targeting script injection in file upload parameters can provide an additional layer of defense. Regular security audits and penetration testing should be conducted on WordPress plugins to ensure they adhere to secure coding standards and properly validate all user inputs against expected formats and content types.