{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-3976",
 "modified": "2026-11-26T12:46:36Z",
 "published": "2026-11-26T12:46:36Z",
 "summary": "AI Engine – MCP Server & AI Chatbot for WordPress, with Claude, ChatGPT & Gemini <= 3.9.5 - Unauthenticated Arbitrary Shortcode Execution via Image Metadata in Chatbot File Uploads",
 "details": "The AI Engine plugin for WordPress is vulnerable to Arbitrary Shortcode Execution via the chatbot and form file upload endpoint (/mwai-ui/v1/files/upload) in all versions up to, and including, 3.9.5, due to uploaded files being sideloaded into the Media Library with media_handle_sideload() without explicit post data. WordPress then fills the attachment title and description from IPTC/EXIF metadata embedded in the image, which the attacker controls, and the description is rendered through the_content filter, which runs shortcodes (for example in the public media REST endpoint). This makes it possible for unauthenticated attackers to run arbitrary shortcodes. The Local Upload option must be set to the Media Library, which is not the default.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "ai-engine"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "2.1.3"
      },
      {
       "fixed": "3.9.6"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "from 2.1.3 before 3.9.6"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-3976/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/ai-engine/tags/3.9.6/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/ai-engine/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-3976/",
  "cwe_ids": [
   "CWE-94"
  ],
  "vulnerability_type": "UPLOAD",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
