Optimole <= 4.2.20 - Unauthenticated Sensitive Information Exposure via Publicly Accessible Log Files
- ID
- WPSEC-2026-4017
- 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:N/UI:N/S:U/C:L/I:N/A:N
- Weakness
- CWE-532
- 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 Sensitive Information Exposure via its media offload and rollback log files in versions 3.11.0 up to, and including, 4.2.20, due to the plugin writing these logs to fixed, predictable file names (offload.log, rollback.log) in the web-accessible wp-content/uploads/optimole-logs/ directory without any access restriction. This makes it possible for unauthenticated attackers to download the logs and read their contents: attachment IDs, offload and rollback progress and error states, and error messages returned by the Optimole upload API.
References
- https://wpsec.com/vuln/WPSEC-2026-4017/
- https://plugins.svn.wordpress.org/optimole-wp/tags/4.2.21/
- https://wordpress.org/plugins/optimole-wp/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS