Skip to content
Laskyr

Plugins · shortpixel-image-optimiser · data as of 2026-11-01

Is ShortPixel Image Optimizer safe? Known vulnerabilities and latest version

No known unpatched vulnerabilities in the latest version (6.6.1)

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

Latest version
6.6.1
Last updated
2026-10-14
Active installs
300,000+
Known issues on record
9
Unpatched in latest
0
Tested up to WP
7.1.4 · PHP 7.4+

Compress images & PDFs automatically, convert to WebP & AVIF, and generate SEO-friendly filenames with AI. Bulk optimization, smart crop & resize. — by ShortPixel

What to do

  1. Update to the latest version (6.6.1). Anything older than 6.6.0 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 shortpixel-image-optimiser --field=version shows what you run; wp plugin update shortpixel-image-optimiser updates it.

Check your version

Known vulnerabilities

9 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 6.5 CVE-2026-103070 · published 2026-10-08

Stored cross-site scripting (XSS) in ShortPixel Image Optimizer (6.5.6 and older)

Affected
6.5.6 and older
Fixed in
6.6.0
Access needed (per CVSS)
Needs a low-level account (e.g. subscriber); someone on the site has to click a link or open a page
Range from
CVE record (the advisory publisher) · score by Patchstack
Details from the advisory

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in ShortPixel ShortPixel Image Optimizer shortpixel-image-optimiser allows Stored XSS.This issue affects ShortPixel Image Optimizer: from n/a through 6.5.6.

NVD CVE-2026-103070Patchstack advisory

medium 4.9 CVE-2026-97246 · published 2026-09-30

PHP object injection in ShortPixel Image Optimizer (6.5.5 and older)

Affected
6.5.5 and older
Fixed in
6.5.6
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

Deserialization of Untrusted Data vulnerability in ShortPixel ShortPixel Image Optimizer shortpixel-image-optimiser allows Object Injection.This issue affects ShortPixel Image Optimizer: from n/a through 6.5.5.

NVD CVE-2026-97246Patchstack advisory

high 8.8 CVE-2026-17086 · published 2026-09-18

PHP object injection in ShortPixel Image Optimizer (6.5.5 and older)

Affected
6.5.5 and older
Fixed in
6.5.6 *
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 ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 6.5.5 via deserialization of untrusted input . This makes it possible for authenticated attackers, with author-level access and above, to inject a PHP Object. No known POP chain is present in the vulnerable software, which means this vulnerability has no impact unless another plugin or theme containing a POP chain is installed on the site. If a POP chain is present via an additional plugin or theme installed on the target system, it may allow the attacker to perform actions like delete arbitrary files, retrieve sensitive data, or execute code depending on the POP chain present.

NVD CVE-2026-17086Wordfence advisoryCode change (fix)Plugin source

high 7.2 CVE-2026-39471 · published 2026-06-15

PHP object injection in ShortPixel Image Optimizer (6.4.3 and older)

Affected
6.4.3 and older
Fixed in
6.4.4
Access needed (per CVSS)
Needs an admin-level account
Range from
CVE record (the advisory publisher) · score by Patchstack
Details from the advisory

Author PHP Object Injection in ShortPixel Image Optimizer <= 6.4.3 versions.

NVD CVE-2026-39471Patchstack advisory

medium 5.4 CVE-2026-4335 · published 2026-03-26

Stored cross-site scripting (XSS) in ShortPixel Image Optimizer (6.4.3 and older)

Affected
6.4.3 and older
Fixed in
6.4.4 *
Access needed (per CVSS)
Needs a low-level account (e.g. subscriber); someone on the site has to click a link or open a page
Range from
CVE record (the advisory publisher) · score by Wordfence
Details from the advisory

The ShortPixel Image Optimizer plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the attachment post_title in all versions up to, and including, 6.4.3. This is due to insufficient output escaping in the getEditorPopup() function and its corresponding media-popup.php template. Specifically, the attachment's post_title is retrieved from the database via get_post() in AjaxController.php (line 435) and passed directly to the view template (line 449), where it is rendered into an HTML input element's value attribute without esc_attr() escaping (media-popup.php line 139). Since WordPress allows Authors to set arbitrary attachment titles (including double-quote characters) via the REST API, a malicious author can craft an attachment title that breaks out of the HTML attribute and injects arbitrary JavaScript event handlers. This makes it possible for authenticated attackers, with Author-level access and above, to inject arbitrary web scripts that execute whenever a higher-privileged user (such as an administrator) opens the ShortPixel AI editor popup (Background Removal or Image Upscale) for the poisoned attachment.

NVD CVE-2026-4335Wordfence advisoryCode change (fix)Plugin source

medium 4.9 CVE-2026-1246 · published 2026-02-05

Path traversal / file read in ShortPixel Image Optimizer (6.4.2 and older)

Affected
6.4.2 and older
Fixed in
6.4.3 *
Access needed (per CVSS)
Needs an admin-level account
Range from
CVE record (the advisory publisher) · score by Wordfence
Details from the advisory

The ShortPixel Image Optimizer plugin for WordPress is vulnerable to Arbitrary File Read via path traversal in the 'loadFile' parameter in all versions up to, and including, 6.4.2 due to insufficient path validation and sanitization in the 'loadLogFile' AJAX action. This makes it possible for authenticated attackers, with Editor-level access and above, to read the contents of arbitrary files on the server, which can contain sensitive information such as database credentials and authentication keys.

NVD CVE-2026-1246Wordfence advisoryCode change (fix)Plugin source

medium 5.4 CVE-2025-11378 · published 2025-10-18

Missing authorization check in ShortPixel Image Optimizer (6.3.4 and older)

Affected
6.3.4 and older
Fixed in
6.3.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 ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF plugin for WordPress is vulnerable to unauthorized modification of data due to a missing capability check on the 'shortpixel_ajaxRequest' AJAX action in all versions up to, and including, 6.3.4. This makes it possible for authenticated attackers, with Contributor-level access and above, to export and import site options.

NVD CVE-2025-11378Wordfence advisoryCode change (fix)github.comresearch.cleantalk.org

high 8.8 CVE-2024-48044 · published 2024-11-01

Missing authorization check in ShortPixel Image Optimizer (5.6.3 and older)

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

Missing Authorization vulnerability in ShortPixel ShortPixel Image Optimizer shortpixel-image-optimiser allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects ShortPixel Image Optimizer: from n/a through <= 5.6.3.

NVD CVE-2024-48044Patchstack advisory

high 7.6 CVE-2024-48043 · published 2024-10-17

SQL injection in ShortPixel Image Optimizer (5.6.3 and older)

Affected
5.6.3 and older
Fixed in
5.6.4
Access needed (per CVSS)
Needs an admin-level account
Range from
CVE record (the advisory publisher) · score by Patchstack
Details from the advisory

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in ShortPixel ShortPixel Image Optimizer shortpixel-image-optimiser allows Blind SQL Injection.This issue affects ShortPixel Image Optimizer: from n/a through <= 5.6.3.

NVD CVE-2024-48043Patchstack advisory

Recent activity

Where this data comes from

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