AI Engine <= 3.8.0 - Unauthenticated Stored Cross-Site Scripting via 'model_' Parameter → PHP Error-Log Injection → Advisor Indirect Prompt Injection

7.2
Improper Neutralization of Input During Web Page Generation
CVE CVE-2026-96561
CVSS 7.2 (High)
Publicly Published September 30, 2026
Last Updated October 1, 2026
Researcher whale120 - National Taiwan University

Description

The AI Engine – The Chatbot, AI Framework & MCP for WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to, and including, 3.8.0 This is due to a chain of missing input neutralization and output escaping across the /mwai-ui/v1/chats/submit REST endpoint, the PHP error-log parser (MeowKit_MWAI_Helpers::php_error_logs), the Advisor task (Meow_MWAI_Modules_Advisor::run_advisor), and the Advisor dashboard widget (advisor_metabox): the server-parameter denylist in chat_submit strips only exact key names such as 'model' while convert_keys() later canonicalizes 'model_' back to 'model', allowing an unauthenticated caller to place an attacker-controlled string (including CR/LF) into $query->model; final_checks() throws an Exception whose message embeds that raw string, and the non-streaming, non-admin catch branch writes it to the PHP error log unmodified — creating a forged log line that the plugin's own parser subsequently returns as recent PHP-error content; run_advisor() then appends that content verbatim to the AI prompt (indirect prompt injection — CWE-1427), the returned JSON is stored in the mwai_advisor_data option with no schema validation or HTML sanitization, and advisor_metabox() concatenates the resulting 'title' and 'description' values directly into the WordPress dashboard widget without esc_html(), wp_kses(), or equivalent escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever an administrator accesses the WordPress dashboard.

Learn more about Cross-Site Scripting vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for AI Engine – MCP Server & AI Chatbot for WordPress, with Claude, ChatGPT & Gemini

Software Type Plugin
Software Slug ai-engine (view on wordpress.org)
Patched? Yes
Remediation Update to version 3.8.1, or a newer patched version
Affected Version
  • <= 3.8.0
Patched Version
  • 3.8.1

Recent vulnerabilities in AI Engine – MCP Server & AI Chatbot for WordPress, with Claude, ChatGPT & Gemini

# Title CVE ID CVSS Researchers Date
1 AI Engine – MCP Server & AI Chatbot for WordPress, with Claude, ChatGPT & Gemini <= 3.9.1 - Unauthenticated Stored Cross-Site Scripting CVE-2026-123478 7.2 peppa November 9, 2026
2 AI Engine – MCP Server & AI Chatbot for WordPress, with Claude, ChatGPT & Gemini <= 3.8.8 - Cross-Site Request Forgery CVE-2026-65566 4.3 AndrewN October 30, 2026
3 AI Engine – The Chatbot, AI Framework & MCP for WordPress <= 3.8.6 - Missing Authorization to Administrator Account Takeover via Unauthenticated MCP OAuth Client Registration CVE-2026-110732 7.5 satoshigpt2021-sketch October 29, 2026
4 AI Engine <= 3.8.4 - Authenticated (Subscriber+) Limited Media File Deletion via 'metadata' Parameter CVE-2026-107745 4.2 Sawyer October 27, 2026
5 AI Engine – MCP Server & AI Chatbot for WordPress, with Claude, ChatGPT & Gemini <= 3.8.6 - Missing Authorization CVE-2026-112828 4.3 Ahmad Naseem October 26, 2026
6 AI Engine <= 3.8.5 - Missing Authorization CVE-2026-110982 2.7 Anatoly Gorbounov October 19, 2026
7 AI Engine <= 3.7.8 - Missing Authorization CVE-2026-111041 2.7 Karthik Ramakrishnan October 16, 2026
8 AI Engine <= 3.7.8 - Missing Authorization CVE-2026-110976 2.7 Karthik Ramakrishnan October 16, 2026
9 AI Engine – MCP Server & AI Chatbot for WordPress, with Claude, ChatGPT & Gemini <= 3.8.3 - Missing Authorization CVE-2026-110888 4.3 Jacek Sowiński (dzaku) October 15, 2026
10 AI Engine – The Chatbot, AI Framework & MCP for WordPress <= 3.7.8 - Unauthenticated Insecure Direct Object Reference CVE-2026-93623 5.3 foehn September 23, 2026

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation