{
 "id": "WPSEC-2026-4660",
 "url": "https://wpsec.com/vuln/WPSEC-2026-4660/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-4660/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-4660/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-4660.json",
 "title": "AI Engine <= 3.9.8 - Authenticated (Editor+) Path Traversal via 'videoId' Parameter",
 "description": "The AI Engine plugin for WordPress is vulnerable to Path Traversal via the 'videoId' and 'openaiId' parameters of the video helper REST endpoints in all versions up to, and including, 3.9.8. This is due to insufficient validation of the OpenAI video ID, which was only passed through sanitize_text_field before being appended to an OpenAI API URL sent with the site's API key. This makes it possible for authenticated attackers, with Editor-level access and above, to reach other OpenAI API endpoints with values such as '../files' and list, download and delete files stored in the site owner's OpenAI account.",
 "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": "TRAVERSAL",
 "cwe": [
  "CWE-22"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 8.2,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:L",
  "severity": "High"
 },
 "affected": {
  "ranges": [
   {
    "from": "3.1.2",
    "from_inclusive": true,
    "to": "3.9.9",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 3.1.2 before 3.9.9"
  ]
 },
 "introduced_in": "3.1.2",
 "fixed_in": "3.9.9",
 "remediation": "Update to 3.9.9 or later.",
 "fix_released": "2026-12-04T01:15:17+00:00",
 "published": "2026-12-05T01:41:30+00:00",
 "updated": "2026-12-04T09:13:55.025337+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-4660/",
  "https://plugins.svn.wordpress.org/ai-engine/tags/3.9.9/",
  "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-12-05"
 }
}