ShortPixel Image Optimizer <= 5.6.3 - Authenticated (Editor+) SQL Injection

4.9
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVE CVE-2024-48043
CVSS 4.9 (Medium)
Publicly Published October 13, 2024
Last Updated October 18, 2024
Researcher Rafie Muhammad - Awesome Motive, Inc.

Description

The ShortPixel Image Optimizer plugin for WordPress is vulnerable to SQL Injection in versions up to, and including, 5.6.3 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with editor-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.

Learn more about SQL Injection 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 5.6.4, or a newer patched version
Affected Version
  • <= 5.6.3
Patched Version
  • 5.6.4

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.4.1 - Authenticated(Editor+) PHP Object Injection 6.6 September 14, 2023
7 ShortPixel Image Optimizer <= 4.22.9 - Reflected Cross-Site Scripting 6.1 WPScanTeam June 2, 2022

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