CVE-2025-22288 WordPress Smush Image Compression and Optimization plugin <= 3.17.0 - Directory Traversal vulnerability
Attackers can exploit a path traversal flaw in the Smush WordPress plugin to read arbitrary files from the server.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-22288?
CVE-2025-22288 is a medium-severity path traversal vulnerability in WPMU DEV - Your All-in-One WordPress Platform Smush Image Compression and Optimization, published on 6 Nov 2025. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
Path Traversal: '.../...//' vulnerability in WPMU DEV - Your All-in-One WordPress Platform Smush Image Compression and Optimization wp-smushit allows Path Traversal.This issue affects Smush Image Compression and Optimization: from n/a through <= 3.17.0.
Weakness: CWE-35
Which versions are affected by CVE-2025-22288?
How do I fix CVE-2025-22288?
No fix has been published for CVE-2025-22288 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2025-22288 being exploited?
There is no known exploitation of CVE-2025-22288 in the wild and no public exploit code.
Sources
Also known as GHSA-mwrg-545v-m46r.