ShortPixel Image Optimizer <= 4.22.9 - Reflected Cross-Site Scripting

6.1
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVSS 6.1 (Medium)
Publicly Published June 2, 2022
Last Updated January 2, 2023
Researcher WPScanTeam - WPScan

Description

The ShortPixel Image Optimizer plugin for WordPress is vulnerable to Reflected Cross-Site Scripting due to the use of add_query_arg & remove_query_arg without appropriate escaping on the URL in versions up to, and including, 4.22.9. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.

Learn more about Cross-Site Scripting vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF

Software Type Plugin
Software Slug shortpixel-image-optimiser (view on wordpress.org)
Patched? Yes
Remediation Update to version 4.22.10, or a newer patched version
Affected Version
  • <= 4.22.9
Patched Version
  • 4.22.10

Recent vulnerabilities in ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF

# Title CVE ID CVSS Researchers Date
1 ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF <= 6.4.3 - Authenticated (Author+) PHP Object Injection CVE-2026-39471 7.5 daroo April 20, 2026
2 ShortPixel Image Optimizer <= 6.4.3 - Authenticated (Author+) Stored Cross-Site Scripting via Attachment Title CVE-2026-4335 5.4 daroo March 25, 2026
3 ShortPixel Image Optimizer <= 6.4.2 - Authenticated (Editor+) Arbitrary File Read via 'loadFile' Parameter CVE-2026-1246 4.9 0N0ise February 4, 2026
4 ShortPixel Image Optimizer <= 6.3.4 - Authenticated (Contributor+) Settings Import/Export CVE-2025-11378 5.4 Dmitrii Ignatyev October 17, 2025
5 ShortPixel Image Optimizer <= 5.6.3 - Missing Authorization CVE-2024-48044 4.3 Rafie Muhammad October 13, 2024
6 ShortPixel Image Optimizer <= 5.6.3 - Authenticated (Editor+) SQL Injection CVE-2024-48043 4.9 Rafie Muhammad October 13, 2024
7 ShortPixel Image Optimizer <= 5.4.1 - Authenticated(Editor+) PHP Object Injection 6.6 September 14, 2023

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation