Glenwpcoder Drag and Drop Multiple File Upload for Contact Form 7
Drag and Drop Multiple File Upload for Contact Form 7 <= 1.3.9.7 - Unauthenticated Arbitrary File Upload via Non-ASCII Filename Blacklist Bypass
The Drag and Drop Multiple File Upload for Contact Form 7 plugin for WordPress is vulnerable to arbitrary file upload in versions up to, and including, 1.3.9.7. This is due to insufficient file type validation that occurs when custom blacklist types are configured, which replaces the default dangerous extension denylist instead of merging with it, and the wpcf7_antiscript_file_name() sanitization function being bypassed for filenames containing non-ASCII characters. This makes it possible for unauthenticated attackers to upload arbitrary files, such as PHP files, to the server, which can be leveraged to achieve remote code execution. The vulnerability was originally reported by Leonid Semenenko (lsemenenko) and partially patched in version 1.3.9.7. A bypass for the patch was separately discovered and reported by Nguyen Hung (Mitchell).
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- <= 1.3.9.7
Mitigation
The record names no fix. Check the vendor advisory below.
Timeline
Days relative to CVE publicationFirst public PoC 21 days after publication; not in CISA KEV. First PoC: kyukazamiqq/cve-2026-5718 (created 8 May 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs · 1 pending
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| kyukazamiqq/cve-2026-5718 | 8 May 2026 +21 d | 1 | PoC |
Pending 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| rootdirective-sec/CVE-2026-5718-Lab | 12 May 2026 +25 d | 1 | Pending · mkdir /quarantine/rootdirective-sec__CVE-2026-5718-Lab-694974ae9699: permission denied |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| nuclei template | nuclei template: Drag and Drop Multiple File Upload - CF7 <= 1.3.9.6 - Remote Code Execution | 15 May 2026 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 1 PoC repoGET //http://{var}
- Ports
- 8080
- Seen in
- 1 repo: kyukazamiqq/cve-2026-5718
- Evidence
- kyukazamiqq/cve-2026-5718/discover_forms.py:36 kyukazamiqq/cve-2026-5718/discover_forms.py:161
GET //{var}{var}
- Ports
- 8080
- Seen in
- 1 repo: kyukazamiqq/cve-2026-5718
- Evidence
- kyukazamiqq/cve-2026-5718/discover_forms.py:145 kyukazamiqq/cve-2026-5718/discover_forms.py:219
GET /contact
- Ports
- 8080
- Seen in
- 1 repo: kyukazamiqq/cve-2026-5718
- Evidence
- kyukazamiqq/cve-2026-5718/QUICK_START.md:106 kyukazamiqq/cve-2026-5718/README_MASS_EXPLOIT.md:200
GET /wp-content/uploads/2026/05/shell-abc123.php
- Ports
- 8080
- Seen in
- 1 repo: kyukazamiqq/cve-2026-5718
- Evidence
- kyukazamiqq/cve-2026-5718/README_MASS_EXPLOIT.md:182
GET /wp-json/contact-form-7/v1/forms
- Ports
- 8080
- Seen in
- 1 repo: kyukazamiqq/cve-2026-5718
- Evidence
- kyukazamiqq/cve-2026-5718/QUICK_START.md:109
HEAD /wp-content/plugins/drag-n-drop-upload-cf7/
- Ports
- 8080
- Seen in
- 1 repo: kyukazamiqq/cve-2026-5718
- Evidence
- kyukazamiqq/cve-2026-5718/QUICK_START.md:112
POST /wp-admin/admin-ajax.php
- Body markers
action=dnd_codedropz_uploadform_id=1upload_name=file_uploadupload_folder=security=upload-file=@shell.phpinmultipart/form-data- Ports
- 8080
- Seen in
- 1 repo: kyukazamiqq/cve-2026-5718
- Evidence
- kyukazamiqq/cve-2026-5718/README_MASS_EXPLOIT.md:205
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^//http://[^/?#]*(?:[?#].*)?$
(?i)^//[^/?#]*[^/?#]*(?:[?#].*)?$
(?i)^/contact(?:[?#].*)?$
(?i)^/wp-content/uploads/2026/05/shell-abc123\.php(?:[?#].*)?$
(?i)^/wp-json/contact-form-7/v1/forms(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2026-5718 glenwpcoder Drag and Drop Multiple File Upload for Contact Form 7 exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"//http://"; reference:url,poc.griffinguard.io/cve/CVE-2026-5718; classtype:web-application-attack; sid:9025013; rev:1;)
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2026-5718 glenwpcoder Drag and Drop Multiple File Upload for Contact Form 7 exploit attempt"; flow:established,to_server; http.method; content:"GET"; reference:url,poc.griffinguard.io/cve/CVE-2026-5718; classtype:web-application-attack; sid:9084722; rev:1;)
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2026-5718 glenwpcoder Drag and Drop Multiple File Upload for Contact Form 7 exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/contact"; reference:url,poc.griffinguard.io/cve/CVE-2026-5718; classtype:web-application-attack; sid:9652293; rev:1;)
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2026-5718 glenwpcoder Drag and Drop Multiple File Upload for Contact Form 7 exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/wp-content/uploads/2026/05/shell-abc123.php"; reference:url,poc.griffinguard.io/cve/CVE-2026-5718; classtype:web-application-attack; sid:9502064; rev:1;)
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2026-5718 glenwpcoder Drag and Drop Multiple File Upload for Contact Form 7 exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/wp-json/contact-form-7/v1/forms"; reference:url,poc.griffinguard.io/cve/CVE-2026-5718; classtype:web-application-attack; sid:9712825; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: glenwpcoder Drag and Drop Multiple File Upload for Contact Form 7 exploit attempt (CVE-2026-5718)
id: gg-pocmon-cve-2026-5718-9025013
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-5718. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-5718
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '//http://'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.5718
title: glenwpcoder Drag and Drop Multiple File Upload for Contact Form 7 exploit attempt (CVE-2026-5718)
id: gg-pocmon-cve-2026-5718-9084722
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-5718. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-5718
logsource:
category: webserver
detection:
selection:
cs-method: GET
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.5718
title: glenwpcoder Drag and Drop Multiple File Upload for Contact Form 7 exploit attempt (CVE-2026-5718)
id: gg-pocmon-cve-2026-5718-9652293
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-5718. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-5718
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/contact'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.5718
title: glenwpcoder Drag and Drop Multiple File Upload for Contact Form 7 exploit attempt (CVE-2026-5718)
id: gg-pocmon-cve-2026-5718-9502064
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-5718. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-5718
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/wp-content/uploads/2026/05/shell-abc123.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.5718
title: glenwpcoder Drag and Drop Multiple File Upload for Contact Form 7 exploit attempt (CVE-2026-5718)
id: gg-pocmon-cve-2026-5718-9712825
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-5718. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-5718
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/wp-json/contact-form-7/v1/forms'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.5718