Skip to content
Laskyr

Plugins · image-optimization · data as of 2026-11-01

Is Image Optimizer safe? Known vulnerabilities and latest version

No known unpatched vulnerabilities in the latest version (1.7.7)

As of 2026-11-01. 3 issues are on record for older versions; version 1.7.7 or newer fixes all of them that state a fix.

Latest version
1.7.7
Last updated
2026-09-22
Active installs
1+ million
Known issues on record
3
Unpatched in latest
0
Tested up to WP
7.0.8 · PHP 7.4+

Image Optimizer is an easy-to-use WordPress plugin that reduces image size through various compression and resizing techniques – all of which preserve … — by Elementor

What to do

  1. Update to the latest version (1.7.7). Anything older than 1.7.7 has at least one known issue listed below. Dashboard → Updates, or Plugins → “update now”.
  2. If you cannot update right away, deactivate it until you can.
  3. Turn on auto-updates for it: Plugins → “Enable auto-updates” on its row.
  4. If you ran a vulnerable version and something looks off (spam pages, strange admins, redirects), run the free scan.

With WP-CLI: wp plugin get image-optimization --field=version shows what you run; wp plugin update image-optimization updates it.

Check your version

Known vulnerabilities

3 on record, newest first. “Affected” is the version range the source gives; “fixed in” is the version the source names, or (marked *) the first wordpress.org release after the last affected version.

medium 4.3 CVE-2026-90953 · published 2026-09-30

Information disclosure in Image Optimizer (older than 1.7.7)

Affected
older than 1.7.7
Fixed in
1.7.7
Access needed (per CVSS)
Needs a low-level account (e.g. subscriber)
Range from
CVE record (the advisory publisher) · score by CISA ADP
Details from the advisory

The Image Optimizer WordPress plugin before 1.7.7 does not enforce its intended capability check on several of its read REST routes, allowing any authenticated user to read attachment metadata and site-wide statistics that should be restricted to administrators.

NVD CVE-2026-90953WPScan advisory

high 8.1 CVE-2026-5821 · published 2026-07-02

Arbitrary file deletion in Image Optimizer (1.7.4 and older)

Affected
1.7.4 and older
Fixed in
1.7.5 *
Access needed (per CVSS)
Needs a low-level account (e.g. subscriber)
Range from
CVE record (the advisory publisher) · score by Wordfence
Details from the advisory

The Image Optimizer plugin for WordPress is vulnerable to arbitrary file deletion in versions up to and including 1.7.4. This is due to insufficient path validation in the Image_Backup::remove() function where backup file paths stored in post meta are used directly in file deletion operations without verifying they are within the uploads directory. The plugin stores backup file paths in the image_optimizer_metadata post meta field and trusts these paths completely when deleting backups on the delete_attachment hook. An authenticated attacker with Author-level access can edit the image_optimizer_metadata post meta on their own attachments via WordPress's Custom Fields interface, injecting arbitrary absolute file paths into the backups array. When the attacker subsequently deletes the attachment, the plugin calls File_System::delete() on each path without validation. This makes it possible for authenticated attackers, with Author-level access and above, to delete arbitrary files on the server within the web server's filesystem permissions, potentially leading to denial of service, data loss, or security degradation.

NVD CVE-2026-5821Wordfence advisoryCode change (fix)research.cleantalk.orgPlugin source

medium 4.3 CVE-2026-25387 · published 2026-02-19

Missing authorization check in Image Optimizer (1.7.1 and older)

Affected
1.7.1 and older
Fixed in
1.7.2
Access needed (per CVSS)
Needs a low-level account (e.g. subscriber)
Range from
CVE record (the advisory publisher) · score by Patchstack
Details from the advisory

Missing Authorization vulnerability in Elementor Image Optimizer by Elementor image-optimization allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects Image Optimizer by Elementor: from n/a through <= 1.7.1.

NVD CVE-2026-25387Patchstack advisory

Recent activity

Where this data comes from

Badge for your site or docs (states facts with a date, not a verdict):
Image Optimizer vulnerability status badge
<a href="https://laskyr.com/plugins/image-optimization"><img src="https://laskyr.com/plugins/image-optimization/badge.svg" alt="Image Optimizer vulnerability status"></a>

← Check another plugin · Free hacked-site scan

Site hacked? Get help now
Run free scan Fix it now ($499) Send a message

First hour checklist

If the site was just hacked, read the emergency kit before you delete files. The page is free. Email is optional.

Read the emergency kit