"Enforced request verification across all WPIDE admin pages to prevent cross-site request forgery. Reported by Greg Otto."
How the CSRF nonce check was bypassed
WPIDE’s attempt to fix an earlier CSRF (CVE-2026-57766) in the 3.6.0 series introduced a nonce validation that was effective only when the WordPress admin page parameter matched the main plugin slug exactly. The security gate performs a strict, character-for-character match against the page parameter (App/Services/Security/Security.php), but seven WPIDE submenu pages use slugs that contain the literal characters "#/" (for example, wpide#/file-manager and wpide#/file-editor). None of those submenu slugs match the strict check, so requests routed through those pages bypass the CSRF validation entirely.
WordPress core accepts the URL-encoded form of "#/" (%23%2F) in the page parameter, and because a CSRF victim must be a logged-in administrator, core’s capability gate permits the requests that reach WPIDE’s internal router with no server-side nonce validation. The 3.6.2 release moved the mechanism to an X-CSRF-Token header but retained the same slug-scoped gate, so the bypass persisted.
The Snippets feature and the path to unauthenticated RCE
The critical attack surface is WPIDE’s Snippets feature, added in 3.6.0. Two routes are central: req=/snippets/save and req=/snippets/execute. When a snippet is saved with status: "active", WPIDE’s activation probe writes attacker-controlled PHP to uploads/wpide-snippets/php/0-<hash>.php and immediately executes it via include; if the uploads directory is not writable the code falls back to eval(). Capability checks such as wpide_snippets_edit_php are granted to administrators by default, and therefore a CSRF victim who is a logged-in administrator will pass them.
Because the Snippets controllers parse the raw request body with json_decode($request->getContent()) regardless of Content-Type, a cross-site delivery primitive from the earlier CVE (CVE-2026-57766) is restored: a plain HTML form using enctype="text/plain" can still produce a JSON-like request body that the controllers accept. The req=/snippets/execute route can then re-run stored snippets on demand, making execution persistent and re-triggerable.

Your scanner finds 4,000 vulns. Which 12 matter?
Nubivance is a Rapid7 Registered Partner delivering vulnerability management as a service - scanning, risk-based prioritization, and remediation follow-through across IT and OT.
Fix the backlogVersions affected, CVEs, and timeline
Patchstack assigned CVE-2026-124251 to the issue and gave it a CVSS score of 8.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H); Patchstack is also listed as the CNA for that record. The underlying CSRF exposure additionally spans versions ≤ 3.5.6 (CVE-2026-57766). Live verification was performed against 3.6.0 and source review confirmed 3.6.2 remained vulnerable; the official CVE record lists all versions through 3.6.4 as affected and marks the plugin unaffected from 3.6.5 onward.
- July 2, 2026 — CVE-2026-57766 published (unauthenticated CSRF in WPIDE ≤ 3.5.6)
- October 30, 2026 — Incomplete fix identified and verified against 3.6.0; reported via Patchstack
- October 31, 2026 — WPIDE 3.6.2 released; review confirmed slug-scoped gate remained
- November 7, 2026 — CVE-2026-124251 reserved by Patchstack
- November 8, 2026 — WPIDE 3.6.4 and 3.6.5 released (3.6.4 enforces request verification across admin pages; 3.6.5 additionally refuses text/plain and form-encoded bodies)
- November 10, 2026 — CVE-2026-124251 published
Detection indicators and immediate mitigations
Observable indicators of exploitation listed in the report include:
- POST requests to /wp-admin/admin.php whose page parameter contains wpide%23%2F (URL-encoded "#/") or a raw "#/"
- POST requests with Content-Type: text/plain and a JSON-looking body
- Requests with req=/snippets/save or req=/snippets/execute that carry an external Origin/Referer header
- Unexpected files in uploads/wpide-snippets/php/ (for example, 0-<hash>.php) or unknown .php/.txt artifacts in wp-content/
- Snippets visible in the WPIDE Snippets interface that no administrator created knowingly
The recommended mitigations in the advisory are explicit: update to WPIDE 3.6.5 or later (3.6.4 and 3.6.5 were both released on 2026-11-08; 3.6.4 enforces request verification across all WPIDE admin pages and 3.6.5 additionally refuses text/plain and form-encoded bodies on state-changing requests). Sites that cannot update immediately should deactivate the plugin. If exploitation is suspected, audit wp-content/ and uploads/wpide-snippets/ for unexpected files, delete unknown snippets, and rotate administrator credentials.
What this means for administrators, security teams, and WPIDE maintainers
Administrators and site operators — The quickest defensive step is to update to WPIDE 3.6.5 or later; if that is not possible, deactivate the plugin and audit the filesystem for unexpected PHP artifacts under wp-content/ and uploads/wpide-snippets/.
Security teams and incident responders — Watch for the network and file indicators above: POSTs to admin.php with page=wpide%23%2F, text/plain bodies with JSON content, and the presence of 0-<hash>.php under uploads/wpide-snippets/php/ are concrete signals of possible exploitation.
WPIDE maintainers — The record in this episode is specific: an attempted fix that performed an exact-string slug check left seven submenu routes unprotected until 3.6.4/3.6.5. The vendor released two updates on 2026-11-08: 3.6.4 to enforce verification across admin pages and 3.6.5 to refuse the cross-site delivery vectors used in the proof-of-concept.
This case is an object lesson in scope: a protection that validates only a single literal slug can leave a wide set of routes exposed. A patch is available; sites using WPIDE should apply it and treat unexpected snippets or PHP files in uploads as urgent incident artifacts.




