{
 "id": "WPSEC-2026-3715",
 "url": "https://wpsec.com/vuln/WPSEC-2026-3715/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-3715/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-3715/index.md",
 "title": "AI Engine – MCP Server & AI Chatbot for WordPress, with Claude, ChatGPT & Gemini <= 3.9.4 - Authenticated (Editor+) Arbitrary File Upload via Image URL Import",
 "description": "The AI Engine plugin for WordPress is vulnerable to arbitrary file uploads via the 'url' parameter of the /mwai/v1/helpers/create_image REST endpoint in versions 3.1.2 up to, and including, 3.9.4, due to missing file type validation in the add_image_from_url function. When no custom filename is given, the file is written to the uploads folder under the name taken from the URL, whatever its extension, and the only check on the content is the Content-Type header returned by the remote server. This makes it possible for authenticated attackers, with editor-level access and above, to upload arbitrary files such as PHP scripts to the server, which may make remote code execution possible.",
 "plugin": {
  "slug": "ai-engine",
  "name": "AI Engine – MCP Server & AI Chatbot for WordPress, with Claude, ChatGPT & Gemini",
  "full_name": "AI Engine – MCP Server & AI Chatbot for WordPress, with Claude, ChatGPT & Gemini",
  "wordpress_org": "https://wordpress.org/plugins/ai-engine/",
  "advisories_url": "https://wpsec.com/vuln/plugin/ai-engine/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/ai-engine"
 },
 "type": "UPLOAD",
 "cwe": [
  "CWE-434"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 7.2,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
  "severity": "High"
 },
 "affected": {
  "ranges": [
   {
    "from": "3.1.2",
    "from_inclusive": true,
    "to": "3.9.5",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 3.1.2 before 3.9.5"
  ]
 },
 "introduced_in": "3.1.2",
 "fixed_in": "3.9.5",
 "remediation": "Update to 3.9.5 or later.",
 "fix_released": "2026-11-22T02:13:24+00:00",
 "published": "2026-11-23T02:43:43+00:00",
 "updated": "2026-11-22T11:11:55.731769+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-3715/",
  "https://plugins.svn.wordpress.org/ai-engine/tags/3.9.5/",
  "https://wordpress.org/plugins/ai-engine/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/ai-engine",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "Low",
  "as_of": "2026-11-22"
 }
}