Images Optimize and Upload CF7 <= 2.1.4 - Missing Authorization to Arbitrary File Deletion

Missing Authorization
CVE CVE-2022-4101
CVSS 9.1 (Critical)
Publicly Published December 21, 2022
Last Updated December 23, 2022
Researcher cydave


The Images Optimize and Upload CF7 plugin for WordPress is vulnerable to authorization bypass due to a missing capability check on the yr_api_delete AJAX action available to unprivileged users in versions up to, and including, 2.1.4. This makes it possible for unauthenticated attackers to delete arbitrary files. This could be used to delete the wp-config.php file that would make complete site takeover relatively simple for an attacker.



1 affected software package

Software Type Plugin
Software Slug images-optimize-and-upload-cf7 (view on
Patched? No
Remediation No known patch available. Please review the vulnerability's details in depth and employ mitigations based on your organization's risk tolerance. It may be best to uninstall the affected software and find a replacement.
Affected Version
  • <= 2.1.4

All the threat data shared in this database is powered by Wordfence Intelligence Enterprise.
Interested in integrating this data into your platform or network?
Contact us now to discuss API access to our Wordfence Intelligence Enterprise Data Feeds.

Inquire Now

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.