WordPress plugins
CVE-2026-124969
Optimole <= 4.2.19 - Unauthenticated PHP Object Injection to Arbitrary File Deletion via 'comment_content'/'comment_agent' Parameter during Attachment Rename
- Severity
- High 7.1
- Published
- 14 Nov 2026
- Last changed
- 16 Nov 2026
- Added to UpHeron
- 14 Nov 2026
- Exploit chance
- 0.5% in the next 30 daysHigher than 40% of CVEs. EPSS by FIRST, 19 Nov 2026
- Attack
- Over the network · No login needed · Needs someone to click or open something
- Attacker can
- Change some data · Take it down
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H- Sources
- CVE Program
Description
The Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the replace_urls_in_value function in all versions up to, and including, 4.2.19. This makes it possible for unauthenticated attackers to delete arbitrary files on the server, which can easily lead to remote code execution when the right file is deleted (such as wp-config.php). Successful exploitation requires PEAR's Archive_Tar library to be present and loadable on the host (common in official WordPress Docker images and many PHP distributions), and an administrator must subsequently use the plugin's Rename control on any attachment after the attacker has staged a malicious payload in a comment. Successful exploitation additionally requires an action by an administrator — the attacker cannot trigger the vulnerability on their own.
Affected software
| Software | Affected versions |
|---|---|
Optimole WP (WordPress plugin)WordPress plugins · wp-plugin:optimole-wp |
|
About Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization
Automatically optimize images with bulk compression, lazy loading, WebP/AVIF conversion & CloudFront image CDN. Boost Core Web Vitals & conversions.
- Active installations
- 200,000+WordPress.org, 15 Nov 2026
- Latest version
- 4.2.20WordPress.org, 15 Nov 2026
- Last updated
- 12 Nov 2026WordPress.org
- Rating
- 4.7 out of 5 (641 ratings)WordPress.org, 15 Nov 2026
- Requires WordPress
- 5.5WordPress.org
- Requires PHP
- 7.4WordPress.org
- Tested up to WordPress
- 7.1.4WordPress.org
- Author
- OptimoleWordPress.org
- In the directory since
- 23 Sept 2018WordPress.org
Vulnerabilities in Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization
- In our list
- 4
- Published in the last 12 months
- 4
- Critical, last 12 months
- 0
- High, last 12 months
- 4
- Known exploited
- 0
- CVE-2026-120677Optimole <= 4.2.18 - Unauthenticated Stored Cross-Site Scripting via Comment ContentHigh 7.2 7 Nov 2026
- CVE-2026-120739Optimole <= 4.2.18 - Unauthenticated Stored Cross-Site Scripting via Page Profiler srcset DescriptorHigh 7.2 7 Nov 2026
- CVE-2026-119070Optimole <= 4.2.17 - Unauthenticated Stored Cross-Site Scripting via Comment Content via Backslash-Escaped Unicode in URL ReplacerHigh 7.2 7 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-124969