Limited Arbitrary File Upload Vulnerability in AI Engine’s MCP Server for WordPress
CVE-2026-131589

7.2HIGH

What is CVE-2026-131589?

The AI Engine – MCP Server & AI Chatbot for WordPress is susceptible to a vulnerability that allows limited arbitrary file uploads through the /mwai/v1/helpers/create_image REST API endpoint. Specifically, when the url parameter is invoked without a specified filename, the add_image_from_url() function fails to enforce MIME type restrictions correctly. This loophole permits authenticated attackers with Editor-level permissions or higher to upload malicious files—such as HTML, SVG, or JavaScript—directly into the WordPress uploads directory. By exploiting this flaw, an attacker can execute stored cross-site scripting (XSS) attacks on administrators who access the crafted URLs, potentially leading to further exploitation of the site.

Affected Version(s)

AI Engine – MCP Server & AI Chatbot for WordPress, with Claude, ChatGPT & Gemini 0 <= 3.9.4

References

CVSS V3.1

Score:
7.2
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
High
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Wordfence PRISM
.