Severity by source
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attacker needs no account (PR:N), admin must click a link (UI:R), and full site compromise results; scope unchanged as impact stays within the WordPress instance.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
Lifecycle Timeline
2DescriptionCVE.org
The AI Engine - The Chatbot, AI Framework & MCP for WordPress plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 3.6.5 This is due to missing or incorrect nonce validation on the reauth_for_authorize function. This makes it possible for unauthenticated attackers to create new administrator accounts with attacker-supplied credentials via a CSRF-based REST authentication bypass, granted they can trick a site administrator into performing an action such as clicking on a link. This bypass can be combined with WordPress's ?_method=POST method-override support to convert a top-navigation GET request into an authenticated POST to the REST users endpoint, requiring no existing account on the attacker's part.
AnalysisAI
Cross-Site Request Forgery in AI Engine plugin (all versions ≤ 3.6.5) enables unauthenticated attackers to create new WordPress administrator accounts by tricking a logged-in site admin into clicking a crafted link. The attack exploits missing nonce validation on the reauth_for_authorize function in labs/mcp-oauth.php, combined with WordPress's built-in ?_method=POST method-override feature to convert an innocuous-looking GET navigation request into an authenticated POST to the REST /users endpoint - no attacker account required. No public exploit has been identified at time of analysis, but the attack primitive is straightforward and the impact (full site takeover) is severe.
Technical ContextAI
The vulnerability resides in the MCP OAuth flow of the AI Engine plugin (CPE: cpe:2.3:a:tigroumeow:ai_engine_-_the_chatbot,_ai_framework_&_mcp_for_wordpress:*:*:*:*:*:*:*:*), specifically in labs/mcp-oauth.php at lines 49, 120, 121, and 127 as referenced by Wordfence and Trac sources. CWE-352 (Cross-Site Request Forgery) is the root cause: the reauth_for_authorize function processes requests without verifying a WordPress nonce, breaking the standard CSRF defense that WordPress plugins are expected to implement. The novel escalation technique abuses WordPress core's ?_method=POST query-parameter method override - a legitimate REST API compatibility feature - which causes WordPress to reinterpret an HTTP GET request as a POST, allowing the forged request to satisfy the REST endpoint's method requirement while still originating from an admin's authenticated browser session. This combination turns a classic CSRF into a full REST authentication bypass that creates attacker-controlled admin credentials.
RemediationAI
Update AI Engine to version 3.6.6 or later immediately; the fix is confirmed in the Trac changeset at https://plugins.trac.wordpress.org/changeset/3628188/ai-engine/trunk/labs/mcp-oauth.php, which patches the nonce validation in the reauth_for_authorize function. The fix version 3.6.6 is inferred from the diff between 3.6.5 and 3.6.6 tags - verify the exact release designation in the WordPress plugin repository before deploying. If upgrading immediately is not possible, a targeted workaround is to disable or block access to the MCP OAuth feature (the labs/mcp-oauth.php endpoint) via server-level rules (e.g., Nginx location block or Apache RewriteRule) - note this will break any MCP/OAuth integrations relying on that path. Additionally, consider temporarily blocking ?_method=POST query parameters at the WAF or CDN layer for unauthenticated requests, but be aware this may break legitimate REST API consumers using method-override. Audit WordPress administrator accounts for unexpected additions as an indicator of prior exploitation.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
Remote code execution in the WP Query Console WordPress plugin (versions up to and including 1.0) by Ajit Bohra allows u
Same weakness CWE-352 – Cross-Site Request Forgery (CSRF)
View allSame technique Authentication Bypass
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-51739
GHSA-rw28-999g-8cc4