WPIDE CSRF Nonce Bypass Enables Unauthenticated RCE (CVE-2026-124251)

Summary
A CSRF nonce-check bypass in WPIDE can let an unauthenticated attacker make a logged-in administrator trigger PHP execution. The article reports affected versions through 3.6.4 and recommends updating to 3.6.5 or later.
Key points
- The nonce check reportedly runs only for the main WPIDE page slug; requests using submenu slugs bypass validation.
- An attacker can target a logged-in administrator with a forged cross-site request; the attacker does not need an account.
- The article describes saving an active PHP snippet as the route to server-side code execution, with a separate route to rerun stored snippets.
- The bypass was verified against WPIDE 3.6.0; source review reportedly confirmed the issue in 3.6.2. The CVE record lists versions through 3.6.4 as affected.
- WPIDE 3.6.5 or later is recommended. The article also advises deactivating the plugin if an immediate update is not possible.
- If exploitation is suspected, the article recommends checking for unexpected files and snippets and rotating administrator credentials.
Article Details
- Attack Vectors
- An attacker-controlled page can auto-submit a cross-site request to a logged-in WordPress administrator. WPIDE skips CSRF validation for submenu page slugs containing the literal `#/` fragment.
- The forged request can invoke `req=/snippets/save` with an active PHP snippet. WPIDE executes the attacker-controlled PHP during the save request, using `include` or, if the directory is not writable, `eval()`.
- The `req=/snippets/execute` route can re-run a stored snippet, allowing execution to be triggered again.
- Defensive Notes
- Update WPIDE to version 3.6.5 or later. The article says version 3.6.4 enforces request verification across plugin admin pages, while 3.6.5 also rejects text/plain and form-encoded bodies on state-changing requests.
- If an update is not immediately possible, deactivate WPIDE.
- If exploitation is suspected, inspect `wp-content/` and `uploads/wpide-snippets/` for unexpected files, remove snippets administrators did not create, and rotate administrator credentials.
MITRE ATT&CK
T1059 · Command and Scripting InterpreterWPIDE executes attacker-controlled PHP supplied as an active snippet during save, through include or eval().T1189 · Drive-by CompromiseAn attacker-controlled page auto-submits a forged request when a logged-in WordPress administrator visits it.T1190 · Exploit Public-Facing ApplicationThe attacker abuses the vulnerable WPIDE plugin's exposed administrative functionality to obtain server-side code execution without an attacker account.
CVE
CVE-2026-124251XplodedThemes · WPIDE – File Manager & Code EditorCVE: CVE-2026-124251 (Patchstack CNA, published 2026-11-10) — incomplete fix for CVE-2026-57766CVE-2026-57766XplodedThemes · WPIDE – File Manager & Code EditorCVE: CVE-2026-124251 (Patchstack CNA, published 2026-11-10) — incomplete fix for CVE-2026-57766
