
Smush Image Optimization – Optimize Images | Compress & Lazy Load Images | Convert WebP & AVIF | Image CDN Security & Risk Analysis
wordpress.org/plugins/wp-smushitOptimize and compress images with lossless and lossy compression, lazy load, WebP & AVIF conversion, and global image CDN.
Is Smush Image Optimization – Optimize Images | Compress & Lazy Load Images | Convert WebP & AVIF | Image CDN Safe to Use in 2026?
Generally Safe
Score 93/100Smush Image Optimization – Optimize Images | Compress & Lazy Load Images | Convert WebP & AVIF | Image CDN has a strong security track record. Known vulnerabilities have been patched promptly.
The wp-smushit plugin exhibits a mixed security posture. On the positive side, the code demonstrates strong adherence to secure coding practices with a high percentage of SQL queries using prepared statements and properly escaped output. The presence of numerous nonce and capability checks also indicates a focus on preventing common WordPress attacks. However, there are notable areas of concern. The presence of a REST API route without permission callbacks presents a direct and unprotected entry point, which is a significant risk. Furthermore, the taint analysis reveals a flow with unsanitized paths, highlighting a potential for path traversal or similar vulnerabilities despite the low severity score. The plugin's vulnerability history is particularly worrying, with a significant number of past CVEs across various severity levels, including critical and high. The common vulnerability types mentioned, such as Missing Authorization, Deserialization, XSS, and Path Traversal, directly align with the potential risks identified in the static analysis. While there are currently no unpatched CVEs, the recurring nature of these vulnerability types suggests a persistent challenge in securing certain code areas. The overall conclusion is that while the plugin has implemented some good security practices, the identified vulnerabilities and the historical pattern of security issues necessitate careful monitoring and potentially further code review.
Key Concerns
- REST API route without permission callbacks
- Taint flow with unsanitized paths
- Vulnerability history includes critical/high severity
- Vulnerability history shows common dangerous patterns
- Large attack surface with one unprotected entry point
Smush Image Optimization – Optimize Images | Compress & Lazy Load Images | Convert WebP & AVIF | Image CDN Security Vulnerabilities
CVEs by Year
Severity Breakdown
6 total CVEs
Smush Image Compression and Optimization <= 3.17.0 - Authenticated (Admin+) Directory Traversal
Smush – Lazy Load Images, Optimize & Compress Images <= 3.16.4 - Missing Authorization to Resmush List Deletion
Smush – Lazy Load Images, Optimize & Compress Images <= 3.9.8 - Cross-Site Scripting
Smush – Lazy Load Images, Optimize & Compress Images <= 3.0.0 - Authenticated PHAR Deserialization
Smush – Lazy Load Images, Optimize & Compress Images <= 2.9.1 - Cross-Site Scripting
Smush – Lazy Load Images, Optimize & Compress Images <= 2.7.5 - Directory Traversal
Smush Image Optimization – Optimize Images | Compress & Lazy Load Images | Convert WebP & AVIF | Image CDN Code Analysis
Bundled Libraries
SQL Query Safety
Output Escaping
Data Flow Analysis
Smush Image Optimization – Optimize Images | Compress & Lazy Load Images | Convert WebP & AVIF | Image CDN Attack Surface
AJAX Handlers 35
REST API Routes 1
WordPress Hooks 146
Scheduled Events 1
Maintenance & Trust
Smush Image Optimization – Optimize Images | Compress & Lazy Load Images | Convert WebP & AVIF | Image CDN Maintenance & Trust
Maintenance Signals
Community Trust
Smush Image Optimization – Optimize Images | Compress & Lazy Load Images | Convert WebP & AVIF | Image CDN Alternatives
Imagify Image Optimization – Optimize Images | Compress Images | Convert WebP | Convert AVIF
imagify
Optimize images in 1-click: compress images, convert to WebP & AVIF, resize, and boost your site with the easiest WordPress image optimization plugin!
Converter for Media – Optimize images | Convert WebP & AVIF
webp-converter-for-media
Speed up your website by using our WebP & AVIF Converter. Optimize images and serve WebP and AVIF images instead of standard formats!
ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF
shortpixel-image-optimiser
Optimize images & PDFs smartly. Create and compress next-gen WebP and AVIF formats. Smart crop and resize.
Squeeze – Image Optimization & Compression, WEBP Conversion
squeeze
Unlimited. Private. Instant. Squeeze compresses and converts your images directly in your browser — no external servers and no upload limits.
DropAvif Image Optimizer – Convert WebP & AVIF | Compress Images
dropavif-media-optimizer
The Ultimate Image Optimization Suite for WordPress. WebP & AVIF conversion, Smart Format Selection, Watermarking, and Lazy Load. Zero server load.
Smush Image Optimization – Optimize Images | Compress & Lazy Load Images | Convert WebP & AVIF | Image CDN Developer Profile
9 plugins · 2.4M total installs
How We Detect Smush Image Optimization – Optimize Images | Compress & Lazy Load Images | Convert WebP & AVIF | Image CDN
Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.
Asset Fingerprints
/wp-content/plugins/wp-smushit/app/assets/css/smush-settings.css/wp-content/plugins/wp-smushit/app/assets/css/smush-dashboard.css/wp-content/plugins/wp-smushit/app/assets/css/smush-admin.css/wp-content/plugins/wp-smushit/app/assets/css/smush-media-library.css/wp-content/plugins/wp-smushit/app/assets/css/smush-lazy-load.css/wp-content/plugins/wp-smushit/app/assets/css/smush-upsell.css/wp-content/plugins/wp-smushit/app/assets/js/smush-admin.js/wp-content/plugins/wp-smushit/app/assets/js/smush-media-library.js+5 more/wp-content/plugins/wp-smushit/app/assets/js/smush-admin.js/wp-content/plugins/wp-smushit/app/assets/js/smush-media-library.js/wp-content/plugins/wp-smushit/app/assets/js/smush-lazy-load.js/wp-content/plugins/wp-smushit/app/assets/js/smush-upsell.js/wp-content/plugins/wp-smushit/app/assets/js/smush-bulk.jswp-smushit/app/assets/css/smush-settings.css?ver=wp-smushit/app/assets/css/smush-dashboard.css?ver=wp-smushit/app/assets/css/smush-admin.css?ver=wp-smushit/app/assets/css/smush-media-library.css?ver=wp-smushit/app/assets/css/smush-lazy-load.css?ver=wp-smushit/app/assets/css/smush-upsell.css?ver=wp-smushit/app/assets/js/smush-admin.js?ver=wp-smushit/app/assets/js/smush-media-library.js?ver=wp-smushit/app/assets/js/smush-lazy-load.js?ver=wp-smushit/app/assets/js/smush-upsell.js?ver=wp-smushit/app/assets/js/smush-bulk.js?ver=HTML / DOM Fingerprints
smush-uismush-noticesmush-bulk-headersmush-bulk-tablesmush-settings-panelsmush-media-row-thumbnailsmush-media-row-titlesmush-media-row-filename+4 more<!-- Smush notices --><!-- Bulk Smush Settings --><!-- Optimize images with Smush -->data-smush-iddata-smush-actionSmushSmushAdminSmushMediaLibrarySmushLazyLoadSmushBulk/wp-json/smush/v1/media/bulk-smush/wp-json/smush/v1/settings/save/wp-json/smush/v1/lazy-load/update-status