Vulnerability Description
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 replace_file 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 edit_post 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 current_user_can('edit_post', $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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.5/inc/media_rena
- https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.5/inc/media_rena
- https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.6/inc/media_rena
- https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.6/inc/media_rena
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old
- https://www.wordfence.com/threat-intel/vulnerabilities/id/8a90de6e-6bd5-43b6-980
FAQ
What is CVE-2026-11784?
CVE-2026-11784 is a vulnerability with a CVSS score of 4.3 (MEDIUM). 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...
How severe is CVE-2026-11784?
CVE-2026-11784 has been rated MEDIUM with a CVSS base score of 4.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-11784?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.