# ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF <= 6.6.1 - Cross-Site Request Forgery to Debug and Tools Actions

- **ID:** WPSEC-2026-3368
- **Plugin:** ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF (`shortpixel-image-optimiser`), https://wordpress.org/plugins/shortpixel-image-optimiser/
- **Affected versions:** all versions before 6.6.2
- **Fixed in:** 6.6.2 (Update to 6.6.2 or later.)
- **Severity:** Medium 5.4 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L)
- **Weakness:** CWE-352
- **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-3368/

## Description

The ShortPixel Image Optimizer plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 6.6.1, due to missing nonce validation on the debug actions of the settings page, whose request check treated any request without POST data as valid. This makes it possible for unauthenticated attackers to empty or remove the processing queues, reset the statistics, the quota data and the notices, and to remove prevented-item markers and the processor key via a forged GET request, granted they can trick a site administrator into performing an action such as clicking on a link.

## References

- https://wpsec.com/vuln/WPSEC-2026-3368/
- 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-3368/

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.
