
Perfect Images: Regenerate Thumbnails, Image Sizes, WebP & AVIF Security & Risk Analysis
wordpress.org/plugins/wp-retina-2xOptimize image sizes, regenerate thumbnails, enable retina, convert to WebP/AVIF, or use cloud optimization. An essential image toolkit.
Is Perfect Images: Regenerate Thumbnails, Image Sizes, WebP & AVIF Safe to Use in 2026?
Generally Safe
Score 99/100Perfect Images: Regenerate Thumbnails, Image Sizes, WebP & AVIF has a strong security track record. Known vulnerabilities have been patched promptly.
The "wp-retina-2x" plugin v7.1.4 presents a mixed security posture. While the attack surface appears minimal with no apparent unprotected entry points such as AJAX handlers, REST API routes, or shortcodes, there are significant underlying concerns. The presence of dangerous functions like `exec` and `unserialize` in the codebase warrants careful attention, as these can be exploited if not handled with extreme caution and proper sanitization. The taint analysis, although limited to one flow, indicated an unsanitized path, which is a direct security risk. The plugin also exhibits a history of known vulnerabilities, with three medium-severity CVEs primarily related to information exposure and cross-site scripting. The recentness of the last vulnerability (November 2023) suggests that while past issues may have been patched, ongoing vigilance is crucial. The lack of any nonce checks across the entire plugin is a notable weakness, especially concerning as the plugin interacts with files. While capability checks are present, the absence of nonce verification on potential AJAX or other interactive elements leaves it open to certain types of attacks.
Key Concerns
- Dangerous functions (exec, unserialize) found
- Flows with unsanitized paths found
- 3 medium severity CVEs in history
- No nonce checks implemented
- SQL queries not fully prepared (31% not)
- Some output not properly escaped (12%)
Perfect Images: Regenerate Thumbnails, Image Sizes, WebP & AVIF Security Vulnerabilities
CVEs by Year
Severity Breakdown
3 total CVEs
WP Retina 2x <= 6.4.5 - Sensitive Information Exposure
Perfect Images <= 5.2.2 - Cross-Site Scripting
WP Retina 2x <= 5.2.0 - Cross-Site Scripting
Perfect Images: Regenerate Thumbnails, Image Sizes, WebP & AVIF Code Analysis
Dangerous Functions Found
SQL Query Safety
Output Escaping
Data Flow Analysis
Perfect Images: Regenerate Thumbnails, Image Sizes, WebP & AVIF Attack Surface
WordPress Hooks 44
Maintenance & Trust
Perfect Images: Regenerate Thumbnails, Image Sizes, WebP & AVIF Maintenance & Trust
Maintenance Signals
Community Trust
Perfect Images: Regenerate Thumbnails, Image Sizes, WebP & AVIF Alternatives
Image Optimizer – Optimize Images and Convert to WebP or AVIF
image-optimization
Automatically resize, optimize, and convert images to WebP and AVIF. Compress images in bulk or on upload to boost your WordPress site performance.
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!
Force Regenerate Thumbnails
force-regenerate-thumbnails
Delete and REALLY force thumbnail regeneration.
Modern Image Formats
webp-uploads
Converts images to more modern formats such as WebP or AVIF during upload.
reGenerate Thumbnails Advanced
regenerate-thumbnails-advanced
Regenerate thumbnails quickly and easily, including forced regeneration; very useful when changing a theme or adding new thumbnail sizes.
Perfect Images: Regenerate Thumbnails, Image Sizes, WebP & AVIF Developer Profile
27 plugins · 371K total installs
How We Detect Perfect Images: Regenerate Thumbnails, Image Sizes, WebP & AVIF
Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.
Asset Fingerprints
/wp-content/plugins/wp-retina-2x/app/vendor.js/wp-content/plugins/wp-retina-2x/app/index.js/wp-content/plugins/wp-retina-2x/app/vendor.js/wp-content/plugins/wp-retina-2x/app/index.jswp-retina-2x/app/vendor.js?ver=wp-retina-2x/app/index.js?ver=HTML / DOM Fingerprints
data-wr2x-adminwr2x_retina/wp-retina-2x/v1/