{
 "id": "WPSEC-2026-1577",
 "url": "https://wpsec.com/vuln/WPSEC-2026-1577/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-1577/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-1577/index.md",
 "title": "AI Engine <= 3.8.6 - Authenticated (Contributor+) Missing Authorization to Live Chatbot Takeover via Embed Preview",
 "description": "The AI Engine plugin for WordPress is vulnerable to unauthorized modification of chatbot configuration via the mwai_chatbot shortcode in all versions up to, and including, 3.8.6, due to can_override_server_params() allowing server-side parameters to be stored for a custom chatbot ID whenever no post is being rendered. This includes AJAX and REST requests such as WordPress' parse-embed preview, where shortcode text comes from the request. This makes it possible for authenticated attackers, with Contributor-level access and above, to replace a live custom chatbot's system prompt, model or API key, which affects every visitor using that chatbot.",
 "plugin": {
  "slug": "ai-engine",
  "name": "AI Engine",
  "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": "NO AUTHORISATION",
 "cwe": [
  "CWE-862"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 5.4,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "3.8.7",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 3.8.7"
  ]
 },
 "introduced_in": null,
 "fixed_in": "3.8.7",
 "remediation": "Update to 3.8.7 or later.",
 "fix_released": "2026-10-23T03:28:03+00:00",
 "published": "2026-10-24T03:40:50+00:00",
 "updated": "2026-10-23T09:45:30.192043+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-1577/",
  "https://plugins.svn.wordpress.org/ai-engine/tags/3.8.7/",
  "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-10-24"
 }
}