CVE-2022-4101
Images Optimize and Upload CF7 <= 2.1.4 - Missing Authorization to Arbitrary File Deletion
criticalMissing Authorization
9.1
CVSS Score
9.1
CVSS Score
critical
Severity
2.2.1
Patched in
895d
Time to patch
Description
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.
CVSS Vector Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:HAttack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
None
Confidentiality
High
Integrity
High
Availability
Technical Details
Affected versions
<=2.1.4PublishedDecember 21, 2022
Last updatedJune 2, 2025
Affected pluginimages-optimize-and-upload-cf7
Check if your site is affected.
Run a free security audit to detect vulnerable plugins, outdated versions, and misconfigurations.