
CVE-2026-0740
CVE-2026-0740 — Multi-threaded vulnerability scanner for the Ninja Forms File Upload path traversal issue on WordPress.
main.py scans a list of WordPress targets to determine whether the Ninja Forms File Uploads plugin is vulnerable to CVE-2026-0740. Brief flow:
http/https, strip trailing slash)nfpluginsettings.js marker on the main pagewp-admin/admin-ajax.php (action=nf_fu_get_new_nonce)1–100wp-content/uploads/ninja-forms/{dir}/requestspip install requests
python main.py <list_target.txt> <number_of_threads>
Example:
python main.py targets.txt 20
One URL per line:
example.com
https://site.example
http://another.example
Protocol optional — if absent, the script uses http:// then falls back to https:// on failure.
Output file is reset each time a scan starts.
main.py)FILE_NAME = "poc_test.txt"
POC_CONTENT = "GIF89;a <h1>VULNERABILITY_TEST_SUCCESSFUL</h1>"
TIMEOUT = 7
OUTPUT_FILE = "vulnerable_targets.txt"
FUZZ_RANGE = range(1, 101)
verify=False (SSL warning disabled) so that targets with invalid certificates can still be scanned.| Item | Value |
|---|
| Result file | vulnerable_targets.txt |
| Line format | `https://target |
| PoC file | poc_test.txt |
| PoC content | GIF89;a <h1>VULNERABILITY_TEST_SUCCESSFUL</h1> |
| Timeout | 7 seconds |
| Directory fuzz | 1–100 |
| Icon | Meaning |
|---|
[*] | Info / plugin detected / fuzzing |
[+] | Vulnerable |
[✓] | Not vulnerable |
[~] | Skip (plugin not present) |
[-] | Error / connection failed |
[!] | Warning (usage) |