Vulnerabilities / Optimole / WPSEC-2026-4019
Optimole <= 4.2.20 - Improper Certificate Validation in Optimole API Requests
Medium 4.8
CWE-295Fixed in 4.2.21
- ID
- WPSEC-2026-4019
- Plugin
- Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization (optimole-wp)
- Affected
- all versions before 4.2.21
- Remediation
- Update to 4.2.21 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
- Weakness
- CWE-295
- 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 Improper Certificate Validation in all versions up to, and including, 4.2.20 due to TLS certificate verification being disabled (sslverify set to false) on remote requests to the Optimole API, onboarding and error reporting endpoints. This makes it possible for attackers in a privileged network position to perform man-in-the-middle attacks, intercepting the API key and other data sent to the service or tampering with the responses.
References
- https://wpsec.com/vuln/WPSEC-2026-4019/
- 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