CVE-2026-131589
NVDCVSS scored by security@wordfence.com
Vulnerability Summary
The AI Engine β MCP Server & AI Chatbot for WordPress, with Claude, ChatGPT & Gemini plugin for WordPress is vulnerable to Limited Arbitrary File Upload in all versions up to, and including, 3.9.4 via the `url` parameter of the `/mwai/v1/helpers/create_image` REST API endpoint. The vulnerability exists because the `add_image_from_url()` function applies the `get_allowed_mime_types()` extension allow-list only on the custom-filename branch; when the request omits a `filename` value, the empty-filename branch derives the stored file's extension directly from the URL basename via `sanitize_file_name()` without any MIME or extension validation, then writes the downloaded response body verbatim to the WordPress uploads directory via `file_put_contents()`. This makes it possible for authenticated attackers with Editor-level access and above to place attacker-controlled HTML, SVG, or JavaScript files into `wp-content/uploads/YYYY/MM/` under an attacker-chosen extension, enabling stored cross-site scripting against any administrator who opens the resulting attachment URL. The download routine accepts any HTTP response whose `Content-Type` header begins with `image/`, a value freely controlled by the attacker-owned origin server, meaning the written content need not be a valid image.
CVSS v3.1 Base Metrics — Score 7.2 (HIGH)
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredHigh
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
Affected & Patched Versions
- tigroumeow AI Engine β MCP Server & AI Chatbot for WordPress, with Claude, ChatGPT & Gemini <= 3.9.4
- tigroumeow AI Engine β MCP Server & AI Chatbot for WordPress, with Claude, ChatGPT & Gemini 3.9.4
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run the affected product and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 26, 2026Published
- Nov 26, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get alerts for CVEs like this oneYou are reading CVE-2026-131589. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Referencehttps://plugins.trac.wordpress.org/browser/ai-engine/tags/3.9.4/classes/rest.php#L1210
- Referencehttps://plugins.trac.wordpress.org/browser/ai-engine/tags/3.9.4/classes/rest.php#L326
- Referencehttps://plugins.trac.wordpress.org/browser/ai-engine/tags/3.9.4/classes/services/image.php#L140
- Referencehttps://plugins.trac.wordpress.org/browser/ai-engine/tags/3.9.4/classes/services/image.php#L203
- Referencehttps://plugins.trac.wordpress.org/browser/ai-engine/tags/3.9.4/classes/services/image.php#L233
- Referencehttps://plugins.trac.wordpress.org/changeset?old_path=/ai-engine/tags/3.9.4/classes/services/image.php&new_path=/ai-engine/tags/3.9.5/classes/services/image.php
- Referencehttps://www.wordfence.com/threat-intel/vulnerabilities/id/02f6619b-eb5e-42ba-b804-9ac2b2dee482?source=cve
Data last checked: Nov 26, 2026 11:01 UTC