{
 "id": "WPSEC-2026-4018",
 "url": "https://wpsec.com/vuln/WPSEC-2026-4018/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-4018/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-4018/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-4018.json",
 "title": "Optimole <= 4.2.20 - Missing Authorization to Authenticated (Subscriber+) Log Disclosure via optml_fetch_logs AJAX Action",
 "description": "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.",
 "plugin": {
  "slug": "optimole-wp",
  "name": "Optimole",
  "full_name": "Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization",
  "wordpress_org": "https://wordpress.org/plugins/optimole-wp/",
  "advisories_url": "https://wpsec.com/vuln/plugin/optimole-wp/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/optimole-wp"
 },
 "type": "NO AUTHORISATION",
 "cwe": [
  "CWE-862"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 4.3,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": "3.11.0",
    "from_inclusive": true,
    "to": "4.2.21",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 3.11.0 before 4.2.21"
  ]
 },
 "introduced_in": "3.11.0",
 "fixed_in": "4.2.21",
 "remediation": "Update to 4.2.21 or later.",
 "fix_released": "2026-11-25T17:44:27+00:00",
 "published": "2026-11-26T17:45:12+00:00",
 "updated": "2026-11-26T12:03:41.708926+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-4018/",
  "https://plugins.svn.wordpress.org/optimole-wp/tags/4.2.21/",
  "https://wordpress.org/plugins/optimole-wp/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/optimole-wp",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Medium",
  "affected_versions": "Medium",
  "as_of": "2026-11-26"
 }
}