Vulnerabilities / Optimole / WPSEC-2026-4018

Optimole <= 4.2.20 - Missing Authorization to Authenticated (Subscriber+) Log Disclosure via optml_fetch_logs AJAX Action

Medium 4.3 CWE-862Fixed in 4.2.21
ID
WPSEC-2026-4018
Plugin
Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization (optimole-wp)
Affected
from 3.11.0 before 4.2.21
Remediation
Update to 4.2.21 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-862
Usage
Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-11-26
Attack surface
Optimole on WPSec AttackSurface
Fix released
Published

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.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0