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

Summary

CVECVE-2026-96561
StatePUBLISHED
AssignerWordfence
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-10-01 04:18:22 UTC
Updated2026-10-01 04:18:22 UTC
DescriptionThe 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.

Risk And Classification

Primary CVSS: v3.1 7.2 HIGH from [email protected]

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

Problem Types: CWE-79 | CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary7.2HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
3.1CNADECLARED7.2HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Tigroumeow AI Engine The Chatbot AI Framework MCP For WordPress affected 3.8.0 semver Not specified

References

ReferenceSourceLinkTags
plugins.trac.wordpress.org/browser/ai-engine/tags/3.8.0/classes/modules/chatbot.php [email protected] plugins.trac.wordpress.org
plugins.trac.wordpress.org/browser/ai-engine/tags/3.8.0/classes/rest.php [email protected] plugins.trac.wordpress.org
plugins.trac.wordpress.org/browser/ai-engine/tags/3.8.0/classes/engines/core.php [email protected] plugins.trac.wordpress.org
plugins.trac.wordpress.org/browser/ai-engine/tags/3.8.0/common/helpers.php [email protected] plugins.trac.wordpress.org
plugins.trac.wordpress.org/browser/ai-engine/tags/3.8.0/classes/query/base.php [email protected] plugins.trac.wordpress.org
www.wordfence.com/threat-intel/vulnerabilities/id/910e51da-6ee2-45d5-837b-7fea8... [email protected] www.wordfence.com
plugins.trac.wordpress.org/browser/ai-engine/tags/3.8.0/classes/modules/chatbot.php [email protected] plugins.trac.wordpress.org
plugins.trac.wordpress.org/browser/ai-engine/tags/3.8.0/classes/modules/advisor.php [email protected] plugins.trac.wordpress.org
plugins.trac.wordpress.org/changeset [email protected] plugins.trac.wordpress.org
plugins.trac.wordpress.org/browser/ai-engine/tags/3.8.0/classes/modules/advisor.php [email protected] plugins.trac.wordpress.org
plugins.trac.wordpress.org/browser/ai-engine/tags/3.8.0/classes/modules/chatbot.php [email protected] plugins.trac.wordpress.org
plugins.trac.wordpress.org/browser/ai-engine/tags/3.8.0/classes/modules/advisor.php [email protected] plugins.trac.wordpress.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: whale120 (en)

Additional Advisory Data

SourceTimeEvent
CNA2026-09-23T13:43:32.000ZVendor Notified
CNA2026-09-30T15:12:28.000ZDisclosed

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report