Read the docs

Arbitrary file deletion in Optimole WordPress plugin

Priority LOW 34CWE-502Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
None · Low · High
Fix status
No fix listed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-502.

Summary

Optimole through 4.2.19 for WordPress has insufficient file path validation in its replace_urls_in_value function, which relates to deserialization of untrusted data (CWE-502). An unauthenticated attacker stages a payload in a comment, and when an administrator uses the Rename control on an attachment, arbitrary files such as wp-config.php are deleted. Exploitation also requires PEAR's Archive_Tar library on the host.

Written with Claude Haiku 5.5 from the sources below · 2026-11-14

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00454 39th percentileScored 2026-11-16
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
optimoleOptimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimizationup to 4.2.19—No fix listedCNA
  • Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization Vendoroptimole Affected up to 4.2.19 Fixed in — No fix listed CNA

Remediation

The sources list no fixed version for the Optimole plugin (Optimize Images, Convert WebP & AVIF, CDN & Lazy Load, Image Optimization).

Written with Claude Haiku 5.5 from the sources below · 2026-11-14

Timeline

  1. 2026-11-14 Threatist record created from CVE-2026-124969
  2. 2026-11-14 Alias added: GHSA-9367-hx9q-rjcg
  3. 2026-11-16 CISA SSVC decision points changed

References

  • TI-2026-04558 Optimole <= 4.2.2 - Unauthenticated Stored Cross-Site Scripting via Srcset Descriptor Parameter CVSS 3.1HIGH 7.2
  • TI-2026-01518 Super Page Cache <= 5.2.2 - Unauthenticated Stored Cross-Site Scripting via Activity Log CVSS 3.1HIGH 7.2
  • TI-2026-86193 Stored cross-site scripting in Optimole WordPress plugin CVSS 3.1HIGH 7.2
  • TI-2026-53980 Optimole <= 4.2.10 - Unauthenticated Stored Cross-Site Scripting via 'a' (above_fold_images) Parameter CVSS 3.1HIGH 7.2
  • TI-2026-86192 Stored cross-site scripting in Optimole WordPress plugin via comments CVSS 3.1HIGH 7.2
  • TI-2026-86170 Stored cross-site scripting in Optimole WordPress plugin CVSS 3.1HIGH 7.2
See all 14 →

Sources