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.
Improper Neutralization of Input During Web Page Generation CWE-79
An attacker can get their own code to run in a visitor’s browser while it is on a legitimate site, to steal sessions or act as the visitor.
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Weakness data: MITRE Common Weakness Enumeration.
New to this? Read how to keep your software updated.
The products and versions NIST lists as vulnerable. If what you run is not listed it is probably not affected, but ask your provider if you are unsure.
| Product | Type | Vulnerable versions | Fixed in |
|---|---|---|---|
| glenwpcoder Drag and Drop Multiple File Upload for Contact Form 7 | Software | from 0, up to and including 1.4.1 | not recorded |
The 7.2 severity score (high) from wordfence.com, broken into what it means in practice. Red means it makes the flaw easier or worse.
| How it is reached | Network | Can be attacked from anywhere on the internet, with no need to be near the target. |
| How hard it is | Low | Easy to carry out. No special conditions have to line up. |
| Login needed | None | The attacker does not need an account or password. |
| Someone has to act | None | Nobody has to click or open anything. It can happen on its own. |
| Reaches beyond the program | Changed | The attacker can get beyond the vulnerable program and affect other parts of the system. |
| Data exposed | Low | The attacker can read some data, but not everything. |
| Data changed | Low | The attacker can change some data, but not everything. |
| Service disrupted | None | The service keeps running. |
| Ease of attack | 3.9 | A score for how easy it is to use the flaw. Higher is easier. |
| Damage | 2.7 | A score for how bad the harm is if it works. Higher is worse. |
NIST lists 6 sources for this flaw, none tagged as a vendor patch.