# ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF <= 6.6.1 - Authenticated (Contributor+) Missing Authorization to AI SEO Data Generation for Arbitrary Images

- **ID:** WPSEC-2026-3367
- **Plugin:** ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF (`shortpixel-image-optimiser`), https://wordpress.org/plugins/shortpixel-image-optimiser/
- **Affected versions:** from 6.2.0 before 6.6.2
- **Fixed in:** 6.6.2 (Update to 6.6.2 or later.)
- **Severity:** Medium 4.3 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N)
- **Weakness:** CWE-862
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-18)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/shortpixel-image-optimiser
- **Fix released:** 2026-11-17
- **Published:** 2026-11-18
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3367/

## Description

The ShortPixel Image Optimizer plugin for WordPress is vulnerable to unauthorized modification of data in versions 6.2.0 up to, and including, 6.6.1, due to a missing check that the user may edit the image on the AJAX action that requests AI SEO data, and a missing administrator check on the AI image preview action of the settings. Both required only the edit_posts capability. This makes it possible for authenticated attackers, with Contributor-level access and above, to generate AI SEO data for media items they are not allowed to edit, consuming the site's AI credits, and to overwrite the AI example shown on the settings page.

## References

- https://wpsec.com/vuln/WPSEC-2026-3367/
- https://plugins.svn.wordpress.org/shortpixel-image-optimiser/tags/6.6.2/
- https://wordpress.org/plugins/shortpixel-image-optimiser/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-3367/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
