---
title: "CVE-2026-131589: AI Engine – MCP Server & AI Chatbot for WordPress - Unrestricted File Upload & Stored XSS"
description: "AI Engine – MCP Server & AI Chatbot for WordPress <= 3.9.4 contains a limited arbitrary file upload caused by improper MIME type validation in add_image_from_url() via the url parameter in /mwai/v1/helpers/create_image, letting authenticated attackers with Editor privileges upload attacker-controlled files enabling stored XSS, exploit requires Editor-level access."
url: https://panop.io/threat-heartbeat/CVE-2026-131589/
---

# CVE-2026-131589 AI Engine – MCP Server & AI Chatbot for WordPress - Unrestricted File Upload & Stored XSS

AI Engine – MCP Server & AI Chatbot for WordPress <= 3.9.4 contains a limited arbitrary file upload caused by improper MIME type validation in add\_image\_from\_url() via the url parameter in /mwai/v1/helpers/create\_image, letting authenticated attackers with Editor privileges upload attacker-controlled files enabling stored XSS, exploit requires Editor-level access.

CVSS base score 7.2 /10

High

CISA KEV

Not listed

Public exploit

None known

Authentication

Required

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-131589)

## Details

Type

Unrestricted File Upload

Impact

Stored XSS

CVSS vector

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

Published

26 November 2026

Updated

27 November 2026

Weakness

[CWE-434](https://cwe.mitre.org/data/definitions/434.html)

## Vendor fix

Update to a version later than 3.9.4 or the latest available version.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-131589](https://nvd.nist.gov/vuln/detail/CVE-2026-131589)
- [https://plugins.trac.wordpress.org/browser/ai-engine/tags/3.9.4/classes/rest.php#L1210](https://plugins.trac.wordpress.org/browser/ai-engine/tags/3.9.4/classes/rest.php#L1210)
- [https://plugins.trac.wordpress.org/browser/ai-engine/tags/3.9.4/classes/rest.php#L326](https://plugins.trac.wordpress.org/browser/ai-engine/tags/3.9.4/classes/rest.php#L326)
- [https://plugins.trac.wordpress.org/browser/ai-engine/tags/3.9.4/classes/services/image.php#L140](https://plugins.trac.wordpress.org/browser/ai-engine/tags/3.9.4/classes/services/image.php#L140)
- [https://plugins.trac.wordpress.org/browser/ai-engine/tags/3.9.4/classes/services/image.php#L203](https://plugins.trac.wordpress.org/browser/ai-engine/tags/3.9.4/classes/services/image.php#L203)
- [https://plugins.trac.wordpress.org/browser/ai-engine/tags/3.9.4/classes/services/image.php#L233](https://plugins.trac.wordpress.org/browser/ai-engine/tags/3.9.4/classes/services/image.php#L233)
- [https://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](https://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)
- [https://www.wordfence.com/threat-intel/vulnerabilities/id/02f6619b-eb5e-42ba-b804-9ac2b2dee482?source=cve](https://www.wordfence.com/threat-intel/vulnerabilities/id/02f6619b-eb5e-42ba-b804-9ac2b2dee482?source=cve)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
