# WPIDE WordPress Plugin CSRF Nonce Bypass Leading to PHP Code Execution (CVE-2026-124251); Incomplete Fix for CVE-2026-57766 Found With AI Assistance

> CVE-2026-124251 is a cross-site request forgery flaw in the WPIDE – File Manager & Code Editor WordPress plugin (40,000+ active installs) affecting versions up to 3.6.4. Because the plugin ships a PHP snippet runner, a forged request sent to a logged-in administrator can lead to server-side PHP execution and site takeover. It is an incomplete fix for the July 2026 CVE-2026-57766 and was fixed in 3.6.5. No in-the-wild exploitation has been reported.

- **Published:** 2026-11-23T11:15:53Z
- **Last reviewed:** 2026-11-23T11:36:40.097Z
- **Canonical:** https://intel.threadlinqs.com/threat/TL-2026-6688
- **ID:** TL-2026-6688
- **Severity:** HIGH (CVSS 8.8)
- **Category:** VULNERABILITY
- **Status:** PATCHED
- **Detections:** 9 (1 shown free below) · **IOCs:** 18
- **CVEs:** CVE-2026-124251, CVE-2026-57766

## Description

WPIDE (vendor: XplodedThemes) is an in-dashboard file manager, code editor, database manager and PHP snippet runner for WordPress, with more than 40,000 active installations per wordpress.org. CVE-2026-124251 (CVSS 3.1 8.8, vector AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, CWE-352, assigned by the Patchstack CNA) affects versions through 3.6.4. It is a follow-on to CVE-2026-57766, an unauthenticated CSRF in WPIDE <= 3.5.6 published on 2026-07-02, which was fixed in 3.5.7 per Patchstack.

Per the researcher's technical report (generated with the help of GLM-5.3-Flash, so not independently verified), the 3.6.0 nonce check ran only when the admin.php `page` parameter equalled the main slug `wpide` exactly. The seven submenu slugs (file-manager, file-editor, image-editor, db-manager, config-manager, snippets, settings) contain `#/`, and WordPress accepts the URL-encoded form `%23%2F`, so the verification was skipped. Version 3.6.2 moved to an X-CSRF-Token header but kept the same slug-scoped gate, so the bypass persisted across three releases (3.6.0, 3.6.1, 3.6.2). Actions are dispatched by the `req` GET parameter (for example `/snippets/save`, `/snippets/execute`, `/createnew`). Controllers parse the request body with json_decode regardless of Content-Type, so a cross-origin HTML form using enctype=text/plain can deliver a JSON payload without a CORS preflight.

The code-execution path is the Snippets feature introduced in 3.6.0. Saving a PHP snippet with status active executes attacker PHP during the save request. The report says the plugin writes a file under uploads/wpide-snippets/php/ and includes it, falling back to eval() if the directory is not writable. A second forged request to /snippets/execute re-runs the stored snippet, which makes execution persistent. The victim must be a logged-in administrator holding the snippet capability and must visit an attacker-controlled page (UI:R).

The issue was reported by Greg Otto (CyberScoop) via Patchstack on 2026-10-30. He used free LLMs (Gemini Flash and GLM-5.3-Flash, per the article) to pick the target, diff the July patch against later versions and draft proofs of concept. Patchstack reproduced and confirmed the issue. WPIDE 3.6.4 (2026-11-08) enforced request verification across all admin pages, and 3.6.5 (2026-11-08) additionally refuses plain-text and form-encoded bodies for state-changing requests. The CVE was published on 2026-11-10. Patchstack labels the issue low priority and says it is unlikely to be exploited, and SecurityOnline lists EPSS (30-day) at 0.18%. No in-the-wild exploitation, threat actor or network IOCs are reported. Source discrepancy: SecurityOnline lists 3.6.4 as the patched version, while Patchstack and wordpress.org changelog indicate 3.6.5 completes the fix.

## MITRE ATT&CK

- T1190 Exploit Public-Facing Application
- T1204.001 User Execution: Malicious Link
- T1059 Command and Scripting Interpreter
- T1505.003 Server Software Component: Web Shell
- T1588.007 Obtain Capabilities: Artificial Intelligence
- T1189 Drive-by Compromise

## Free detection (Splunk SPL, Microsoft KQL, Sigma)

**WPIDE CVE-2026-124251 Nonce Bypass — Encoded Submenu Slug in admin.php (Exploitation)** (`TL-2026-6688-SPL-001`)

Behaviour-first web-log search for the CVE-2026-124251 nonce bypass: requests to /wp-admin/admin.php where page=wpide#/<submenu> (URL-encoded %23%2F) skip WPIDE request verification in versions <= 3.6.4. Also labels snippets/save and snippets/execute actions that give PHP execution.

- **Languages:** Splunk SPL, Microsoft KQL, Sigma
- **ATT&CK:** T1190, T1189, T1204.001
- **Data sources:** apache_access_log, nginx_access_log, iis_w3c_log, azure_application_gateway_access_log
- **Severity:** high
- **Confidence:** high

### Splunk SPL

```spl
index=web sourcetype IN ("access_combined","apache:access","nginx:plus:access") "admin.php" ("%23" OR "wpide#")
| eval decoded=urldecode(_raw)
| where match(decoded,"(?i)page=wpide#/(file-manager|file-editor|image-editor|db-manager|config-manager|snippets|settings)")
| eval wpide_action=case(match(decoded,"(?i)req=/snippets/save"),"snippets/save", match(decoded,"(?i)req=/snippets/execute"),"snippets/execute", true(),"other")
| eval client=coalesce(clientip,src,src_ip)
| stats count earliest(_time) as first_seen latest(_time) as last_seen values(wpide_action) as wpide_action values(status) as http_status by host, client
| convert ctime(first_seen) ctime(last_seen)
```

### Microsoft KQL

```kql
let lookback = 24h;
let WebReq = union isfuzzy=true
    (W3CIISLog
     | where TimeGenerated > ago(lookback)
     | where csUriStem endswith "/wp-admin/admin.php"
     | project TimeGenerated, SourceIp = cIP, Method = csMethod, Uri = strcat(csUriStem, "?", csUriQuery), Referer = csReferer, Status = tostring(scStatus), Host = sSiteName),
    (AzureDiagnostics
     | where TimeGenerated > ago(lookback)
     | where Category == "ApplicationGatewayAccessLog" and requestUri_s has "/wp-admin/admin.php"
     | project TimeGenerated, SourceIp = clientIP_s, Method = httpMethod_s, Uri = requestUri_s, Referer = "", Status = tostring(httpStatus_d), Host = host_s)
| extend DecodedUri = url_decode(Uri);
WebReq
| where DecodedUri matches regex @"(?i)page=wpide#/(file-manager|file-editor|image-editor|db-manager|config-manager|snippets|settings)"
| summarize Requests = count(), FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated), Methods = make_set(Method), Statuses = make_set(Status), SampleUri = take_any(DecodedUri) by SourceIp, Host
| order by Requests desc
```

### Sigma

```yaml
title: WPIDE CVE-2026-124251 Nonce Bypass Via URL-Encoded Submenu Slug
id: 6f1c2a54-3b0e-4d7a-9c11-8a5e2d7b6601
status: experimental
description: 'Detects requests to wp-admin/admin.php whose page parameter carries a WPIDE submenu slug containing #/ (URL-encoded %23%2F), the slug form that skips request verification in WPIDE <= 3.6.4. A browser never sends a URL fragment, so legitimate use does not produce this form.'
references:
    - https://patchstack.com/database/wordpress/plugin/wpide/vulnerability/wordpress-wpide-file-manager-code-editor-plugin-3-6-4-cross-site-request-forgery-csrf-vulnerability
    - https://cyberscoop.com/wpide-csrf-vulnerability-cve-2026-124251/
author: Threadlinqs Team
date: 2026-11-23
tags:
    - attack.initial-access
    - attack.t1190
    - attack.t1189
    - attack.t1204.001
    - cve.2026.124251
logsource:
    category: webserver
detection:
    selection_path:
        c-uri|contains: '/wp-admin/admin.php'
    selection_slug:
        c-uri-query|contains:
            - 'page=wpide%23%2F'
            - 'page=wpide%23/'
            - 'page=wpide#/'
    condition: selection_path and selection_slug
falsepositives:
    - Security scanners or pentests replaying published WPIDE proofs of concept
    - Administrators manually testing WPIDE deep links with a hand-edited URL
level: high

```

**Known false positives:**

- Security scanners or pentests replaying public WPIDE PoCs against your own sites
- Admins testing WPIDE deep links with a hand-edited URL

**Tuning notes:** Set index=web and the sourcetype list to match your web-log onboarding. The query string must be logged (it is by default). Restrict to hosts that run WPIDE using a lookup, and exclude vulnerability-scanner source IPs. Expected to be near-zero noise once WPIDE is patched to 3.6.5.

### 8 more detection rules (Splunk SPL, Microsoft KQL, Sigma), unlock with TL Creds

- WPIDE Snippet Save-then-Execute Chain via admin.php (Exploitation) (locked: unlock with TL Creds)
- Direct HTTP Access to WPIDE Snippet PHP File — Web Shell Use (Post-Exploitation) (locked: unlock with TL Creds)
- Web Worker Launching curl/wget/nc — Second-Stage Tool Transfer (C2) (locked: unlock with TL Creds)
- Cross-Origin WPIDE Forged Request (Referer Outside wp-admin) — CSRF Delivery (locked: unlock with TL Creds)
- Web Worker Process Spawning Shell — PHP Snippet Command Execution (Post-Exploitation) (locked: unlock with TL Creds)
- Reverse Shell From Web Server Account — C2 Channel Opened From PHP (C2) (locked: unlock with TL Creds)
- WPIDE PHP Snippet File Dropped in uploads/wpide-snippets/php (Post-Exploitation) (locked: unlock with TL Creds)
- Web Worker Outbound Connection to Public IP — PHP Beaconing / Payload Fetch (C2) (locked: unlock with TL Creds)

Sign up free to unlock the detection rules: https://threadlinqs.com/?modal=signup

## Sources

- [I've never hunted for a software vulnerability before. AI helped me find one in six hours.](https://cyberscoop.com/finding-software-vulnerability-with-ai-wordpress-patchstack/)
- [WPIDE <= 3.6.4 - CSRF Nonce Bypass Leading to Unauthenticated RCE (CVE-2026-124251) technical report](https://cyberscoop.com/wpide-csrf-vulnerability-cve-2026-124251/)
- [Patchstack: WPIDE <= 3.6.4 Cross Site Request Forgery (CSRF)](https://patchstack.com/database/wordpress/plugin/wpide/vulnerability/wordpress-wpide-file-manager-code-editor-plugin-3-6-4-cross-site-request-forgery-csrf-vulnerability)
- [CVE Record: CVE-2026-124251](https://www.cve.org/CVERecord?id=CVE-2026-124251)
- [SecurityOnline CVE Watchtower: CVE-2026-124251](https://securityonline.info/cve-watchtower/cve-2026-124251/)
- [WordPress.org: WPIDE plugin page and changelog (3.6.4 / 3.6.5 security entries)](https://wordpress.org/plugins/wpide/)
- [Patchstack: WPIDE <= 3.5.6 Cross Site Request Forgery (CSRF) (CVE-2026-57766 prior issue)](https://patchstack.com/database/wordpress/plugin/wpide/vulnerability/wordpress-wpide-file-manager-code-editor-plugin-3-5-6-cross-site-request-forgery-csrf-vulnerability)
- [SentinelOne Vulnerability Database: CVE-2026-57766](https://www.sentinelone.com/vulnerability-database/cve-2026-57766/)
- [NVD: CVE-2026-57766](https://nvd.nist.gov/vuln/detail/CVE-2026-57766)

## Full data

The other 8 detection rules (Splunk SPL / Microsoft KQL / Sigma) unlock with TL Creds; a free account includes daily creds: https://threadlinqs.com/?modal=signup
Indicator values unlock with TL Creds, at a lower price on Red and Purple; AI agents can query rules and IOCs through the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account): https://intel.threadlinqs.com/mcp

Canonical: https://intel.threadlinqs.com/threat/TL-2026-6688
