Vulnerability in Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization — CVE-2026-77365
HighSeverity
0.3%Estimated exploit probability
200,000+ sitesInstalls
4.2.11Fixed in
What to do now
Update Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization to 4.2.11 or later.
Affected versions
- Everything up to and including 4.2.10
Affected: Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization (plugin, optimole-wp)
What the vulnerability is
The Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'a' (above_fold_images) parameter in all versions up to, and including, 4.2.10 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Sources
- https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.10/inc/manager.php#L468
- https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.10/inc/rest.php#L159
- https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.10/inc/rest.php#L935
- https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.10/inc/v2/PageProfiler/Profile.php#L189
- https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.10/inc/v2/PageProfiler/Profile.php#L485
- https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.7/inc/manager.php#L468