Smush Image Compression and Optimization <= 3.17.0 - Authenticated (Admin+) Directory Traversal

2.7
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CVE CVE-2025-22288
CVSS 2.7 (Low)
Publicly Published March 29, 2025
Last Updated April 9, 2025
Researcher SteveSec

Description

The Smush Image Optimization – Optimize Images | Compress & Lazy Load Images | Convert WebP & AVIF | Image CDN plugin for WordPress is vulnerable to Directory Traversal in all versions up to, and including, 3.17.0. This makes it possible for authenticated attackers, with Administrator-level access and above, to perform actions on files outside of the originally intended directory.

References

Share

Vulnerability Details for Smush – Image Optimization, Compression, Lazy Load, WebP & CDN

Software Type Plugin
Software Slug wp-smushit (view on wordpress.org)
Patched? Yes
Remediation Update to version 3.17.1, or a newer patched version
Affected Version
  • <= 3.17.0
Patched Version
  • 3.17.1

Recent vulnerabilities in Smush – Image Optimization, Compression, Lazy Load, WebP & CDN

# Title CVE ID CVSS Researchers Date
1 Smush – Image Optimization, Compression, Lazy Load, WebP & CDN <= 4.2.0 - Unauthenticated Denial of Service CVE-2026-81285 7.5 Asim Alshaya August 27, 2026
2 Smush – Image Optimization, Compression, Lazy Load, WebP & CDN < 4.3.2 - Authenticated (Administrator+) Remote Code Execution CVE-2026-19223 7.2 Jakub Herman August 27, 2026
3 Smush – Lazy Load Images, Optimize & Compress Images <= 3.16.4 - Missing Authorization to Resmush List Deletion CVE-2023-3352 4.3 Truoc Phan, An Đặng June 20, 2024
4 Smush – Lazy Load Images, Optimize & Compress Images <= 3.9.8 - Cross-Site Scripting CVE-2022-1009 4.4 Taurus Omar May 3, 2022
5 Smush – Lazy Load Images, Optimize & Compress Images <= 3.0.0 - Authenticated PHAR Deserialization 8.8 December 10, 2018
6 Smush – Lazy Load Images, Optimize & Compress Images <= 2.9.1 - Cross-Site Scripting 9.8 December 10, 2018
7 Smush – Lazy Load Images, Optimize & Compress Images <= 2.7.5 - Directory Traversal CVE-2017-15079 5.3 Ricardo Sanchez September 21, 2017

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