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

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CVE CVE-2025-22288
CVSS Low (2.7)
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

1 affected software package

Software Type Plugin
Software Slug wp-smushit (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 3.17.0
Patched Version
  • 3.17.1
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.