AI Engine – MCP Server & AI Chatbot for WordPress, with Claude, ChatGPT & Gemini <= 3.9.4 - Authenticated (Subscriber+) Stored Cross-Site Scripting via Public API Media Library File Uploads

Medium 4.4 CWE-79Fixed in 3.9.5
ID
WPSEC-2026-3714
Plugin
AI Engine – MCP Server & AI Chatbot for WordPress, with Claude, ChatGPT & Gemini (ai-engine)
Affected
all versions before 3.9.5
Remediation
Update to 3.9.5 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-22
Attack surface
AI Engine – MCP Server & AI Chatbot for WordPress, with Claude, ChatGPT & Gemini on WPSec AttackSurface
Fix released
Published

Description

The AI Engine plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Public API simpleFileUpload endpoint in all versions up to, and including, 3.9.4, due to missing file content validation when files are saved with target=library. The plugin relied on WordPress's type check, which accepts markup under text extensions such as .rtx, while the content check used for other uploads was skipped. This makes it possible for authenticated attackers, with subscriber-level access and above, to store files in the uploads folder that execute arbitrary web scripts when a user opens them. The Public API must be enabled, and the web server must serve the file in a way the browser renders as HTML.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0