{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-4018",
 "modified": "2026-11-26T17:45:12Z",
 "published": "2026-11-26T17:45:12Z",
 "summary": "Optimole <= 4.2.20 - Missing Authorization to Authenticated (Subscriber+) Log Disclosure via optml_fetch_logs AJAX Action",
 "details": "The Optimole plugin for WordPress is vulnerable to unauthorized access of data via the optml_fetch_logs AJAX action in versions 3.11.0 up to, and including, 4.2.20, due to a missing capability check on the fetch_logs_ajax_handler function. The handler only verifies a 'wp_rest' nonce, which any logged-in user can obtain. This makes it possible for authenticated attackers, with Subscriber-level access and above, to read the plugin's media offload and rollback logs.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "optimole-wp"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "3.11.0"
      },
      {
       "fixed": "4.2.21"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "from 3.11.0 before 4.2.21"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-4018/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/optimole-wp/tags/4.2.21/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/optimole-wp/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-4018/",
  "cwe_ids": [
   "CWE-862"
  ],
  "vulnerability_type": "NO AUTHORISATION",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
