CVE-2026-96561: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in tigroumeow AI Engine – The Chatbot, AI Framework & MCP for WordPress
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.
AI Analysis
Technical Summary
CVE-2026-96561 is a stored cross-site scripting vulnerability in the AI Engine – The Chatbot, AI Framework & MCP for WordPress plugin affecting versions up to 3.8.0. The issue stems from insufficient input neutralization and output escaping across multiple components: the /mwai-ui/v1/chats/submit REST endpoint, PHP error-log parser, Advisor task, and Advisor dashboard widget. An unauthenticated attacker can inject a crafted string that bypasses server-parameter denylist checks due to key canonicalization, causing an exception message with attacker-controlled content to be logged unescaped. The plugin's parser then returns this forged log content as recent PHP errors, which is appended verbatim to the AI prompt and stored without sanitization. Finally, the dashboard widget concatenates these values directly into the admin interface without escaping, enabling script injection and execution in the administrator's browser.
Potential Impact
An unauthenticated attacker can inject arbitrary web scripts into the WordPress dashboard pages viewed by administrators. This can lead to the execution of malicious scripts in the context of the administrator's browser, potentially allowing theft of credentials, session hijacking, or other administrative actions. The CVSS 3.1 base score is 7.2 (high), reflecting network attack vector, low attack complexity, no privileges required, no user interaction, and partial confidentiality and integrity impacts with no availability impact.
Mitigation Recommendations
No official patch or fix is currently documented in the provided data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, administrators should consider restricting access to the WordPress dashboard to trusted users only and monitor for suspicious activity. Avoid exposing the vulnerable REST endpoint to untrusted networks if possible.
CVE-2026-96561: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in tigroumeow AI Engine – The Chatbot, AI Framework & MCP for WordPress
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.
CVSS v3.1
Score 7.2high
Affected software
tigroumeow
AI Engine – The Chatbot, AI Framework & MCP for WordPress
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-96561 is a stored cross-site scripting vulnerability in the AI Engine – The Chatbot, AI Framework & MCP for WordPress plugin affecting versions up to 3.8.0. The issue stems from insufficient input neutralization and output escaping across multiple components: the /mwai-ui/v1/chats/submit REST endpoint, PHP error-log parser, Advisor task, and Advisor dashboard widget. An unauthenticated attacker can inject a crafted string that bypasses server-parameter denylist checks due to key canonicalization, causing an exception message with attacker-controlled content to be logged unescaped. The plugin's parser then returns this forged log content as recent PHP errors, which is appended verbatim to the AI prompt and stored without sanitization. Finally, the dashboard widget concatenates these values directly into the admin interface without escaping, enabling script injection and execution in the administrator's browser.
Potential Impact
An unauthenticated attacker can inject arbitrary web scripts into the WordPress dashboard pages viewed by administrators. This can lead to the execution of malicious scripts in the context of the administrator's browser, potentially allowing theft of credentials, session hijacking, or other administrative actions. The CVSS 3.1 base score is 7.2 (high), reflecting network attack vector, low attack complexity, no privileges required, no user interaction, and partial confidentiality and integrity impacts with no availability impact.
Mitigation Recommendations
No official patch or fix is currently documented in the provided data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, administrators should consider restricting access to the WordPress dashboard to trusted users only and monitor for suspicious activity. Avoid exposing the vulnerable REST endpoint to untrusted networks if possible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-09-23T13:16:53.044Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6abe7481a43b0b3b89bcf0f3
Added to database: 10/01/2026, 14:56:01 UTC
Last enriched: 10/01/2026, 15:11:00 UTC
Last updated: 10/01/2026, 23:25:57 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.