{"schemaVersion":3,"id":"CVE-2026-96561","aliases":[],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-10-01T03:28:22.465Z","modified":"2026-10-01T14:18:02.665Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.2,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"wordfence","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00328,"percentile":0.24636,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-10-02T00:00:00.000Z","score":0.00328,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00328,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00328,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00328,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00328,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00328,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00328,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00328,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00328,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00328,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00328,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00328,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00328,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00328,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00328,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00328,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00328,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00328,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00328,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00328,"percentile":0.24636}],"last30":[{"date":"2026-10-02T00:00:00.000Z","score":0.00328,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00328,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00328,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00328,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00328,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00328,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00328,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00328,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00328,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00328,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00328,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00328,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00328,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00328,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00328,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00328,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00328,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00328,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00328,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00328,"percentile":0.24636}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"}],"affected":[{"vendor":"tigroumeow","product":"ai engine – the chatbot, ai framework & mcp for wordpress","name":"AI Engine – The Chatbot, AI Framework & MCP for WordPress","label":"ai engine – the chatbot, ai framework & mcp for wordpress","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 3.8.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 3.8.0","eol":null,"hubHref":"/vendor/tigroumeow/ai_engine_-_the_chatbot_ai_framework__mcp_for_wordpress"},{"vendor":"wordpress","product":"ai-engine","name":"AI Engine – The Chatbot, AI Framework & MCP for WordPress","label":"ai-engine","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 3.8.0 (fixed in 3.8.1)","noFixRecorded":false,"fixedIn":"3.8.1"}],"versionsText":"≤ 3.8.0 (fixed in 3.8.1)","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/910e51da-6ee2-45d5-837b-7fea80f79390?source=cve","label":"www.wordfence.com/threat-intel/vulnerabilities/id/910e51da-6ee2-45d5-837b-7fea80f79390?source=cve","hostname":"www.wordfence.com","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/ai-engine/tags/3.8.0/classes/modules/advisor.php#L216","label":"plugins.trac.wordpress.org/browser/ai-engine/tags/3.8.0/classes/modules/advisor.php","hostname":"plugins.trac.wordpress.org","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/ai-engine/tags/3.8.0/classes/modules/advisor.php#L162","label":"plugins.trac.wordpress.org/browser/ai-engine/tags/3.8.0/classes/modules/advisor.php","hostname":"plugins.trac.wordpress.org","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/ai-engine/tags/3.8.0/classes/modules/advisor.php#L156","label":"plugins.trac.wordpress.org/browser/ai-engine/tags/3.8.0/classes/modules/advisor.php","hostname":"plugins.trac.wordpress.org","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/ai-engine/tags/3.8.0/common/helpers.php#L251","label":"plugins.trac.wordpress.org/browser/ai-engine/tags/3.8.0/common/helpers.php","hostname":"plugins.trac.wordpress.org","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/ai-engine/tags/3.8.0/classes/modules/chatbot.php#L299","label":"plugins.trac.wordpress.org/browser/ai-engine/tags/3.8.0/classes/modules/chatbot.php","hostname":"plugins.trac.wordpress.org","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/ai-engine/tags/3.8.0/classes/engines/core.php#L533","label":"plugins.trac.wordpress.org/browser/ai-engine/tags/3.8.0/classes/engines/core.php","hostname":"plugins.trac.wordpress.org","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/ai-engine/tags/3.8.0/classes/query/base.php#L360","label":"plugins.trac.wordpress.org/browser/ai-engine/tags/3.8.0/classes/query/base.php","hostname":"plugins.trac.wordpress.org","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/ai-engine/tags/3.8.0/classes/modules/chatbot.php#L597","label":"plugins.trac.wordpress.org/browser/ai-engine/tags/3.8.0/classes/modules/chatbot.php","hostname":"plugins.trac.wordpress.org","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/ai-engine/tags/3.8.0/classes/rest.php#L464","label":"plugins.trac.wordpress.org/browser/ai-engine/tags/3.8.0/classes/rest.php","hostname":"plugins.trac.wordpress.org","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/ai-engine/tags/3.8.0/classes/modules/chatbot.php#L122","label":"plugins.trac.wordpress.org/browser/ai-engine/tags/3.8.0/classes/modules/chatbot.php","hostname":"plugins.trac.wordpress.org","tags":[]},{"url":"https://plugins.trac.wordpress.org/changeset?old_path=%2Fai-engine%2Ftags%2F3.8.0&new_path=%2Fai-engine%2Ftags%2F3.8.1","label":"plugins.trac.wordpress.org/changeset","hostname":"plugins.trac.wordpress.org","tags":[]},{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/910e51da-6ee2-45d5-837b-7fea80f79390","label":"www.wordfence.com/threat-intel/vulnerabilities/id/910e51da-6ee2-45d5-837b-7fea80f79390","hostname":"www.wordfence.com","tags":["Vendor Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-10-01T03:28:22.465Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-01T14:18:02.665Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":29,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T00:38:53.404Z","stale":false,"partial":false}}