
Multi-target PoC runner for CVE-2026-1306 in WordPress midi-Synth plugin: fetches nonce, sends export AJAX request to upload files, and verifies shell URLs. For authorized testing only.
A Python-based, multi-target executable PoC / list runner for CVE-2026-1306 in the WordPress midi-Synth plugin.
midiSynth_nonce value via HTTP from pages where the [midiSynth] shortcode is loaded on target sites.action=export request to wp-admin/admin-ajax.php; delivers the payload in the Base64 fileMidi field.wp-content/plugins/midi-synth/sound/.shell.txt.Use only in authorized environments (lab, contracted pentest, etc.).
| Vulnerability | Insufficient file type / extension check in the export AJAX action (CWE-434) |
| Affected versions | ≤ 1.1.0 depending on releases; check plugin release notes for the patch |
| CVSS 3.1 | 9.8 Critical (NVD) |
requestspip install requests
Create a text file listing targets line by line (lines starting with # are comments).
python "CVE-2026-1306 midi.py" targets.txt
If the page path containing the nonce differs for your site:
python "CVE-2026-1306 midi.py" targets.txt --paths /,/blog/midi/,/page/
By default, the script tries the following paths: /, /midi/, /midi-synth/, /synth/, /welcome/.
shell.txt (append mode)murrez.php in the scriptverify=False); intended for non-production testing.CVE-2026-1306.py in the help output; since the file name in this repository is CVE-2026-1306 midi.py, quote the file in the command.export AJAX or related endpoints.This software is shared solely for educational and authorized security testing purposes. Unauthorized use is prohibited; responsibility for any use lies with the user.