CVE-2026-11784: Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization <= 4.2.6 - Cross-Site Request Forgery via 'optml_replace_file' AJAX Action

Published Jun 18, 2026
·
Updated

The Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 4.2.6. This is due to missing or incorrect nonce validation on the replacefile function. This makes it possible for unauthenticated attackers to overwrite existing media attachments with attacker-supplied file content by supplying a forged multipart POST request targeting any attachment the victim has editpost capability over via a forged request granted they can trick a site administrator into performing an action such as clicking on a link. The forged request requires a victim with at least Author-level privileges, as the handler enforces a currentusercan('editpost', $id) check; tricking an Author-level or higher user into clicking a crafted link is sufficient to trigger the overwrite against attachments that user can edit.

Affected Software

1 affected component
Optimole Optimole – Optimize Images<=4.2.6

Event History

Jun 18, 2026
CVE Published
via MITRE·05:34 AM
Data Sourced
via MITRE·05:34 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:16 AM
DescriptionSeverityWeakness
Jun 19, 2026
Exploit Published
via GitHub·01:49 PM

Frequently Asked Questions

1

What is the severity of CVE-2026-11784?

CVE-2026-11784 has a medium severity rating of 4.3.

2

How can I fix CVE-2026-11784?

To fix CVE-2026-11784, update the Optimole plugin to version 4.2.7 or later.

3

What type of vulnerability is CVE-2026-11784?

CVE-2026-11784 is a Cross-Site Request Forgery (CSRF) vulnerability.

4

Which versions of Optimole are affected by CVE-2026-11784?

All versions of the Optimole plugin up to and including 4.2.6 are affected by CVE-2026-11784.

5

What causes the vulnerability in CVE-2026-11784?

CVE-2026-11784 is caused by missing or incorrect nonce validation in the replace_file function.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203