Images to WebP Security & Risk Analysis

wordpress.org/plugins/images-to-webp

Convert PNG, JPG and GIF images to WebP and speed up your web

9K active installs v4.9.1 PHP 7.0+ WP 5.0+ Updated Jan 14, 2026
convertmediaoptimizepictures
98
A · Safe
CVEs total2
Unpatched0
Last CVEOct 19, 2021
Safety Verdict

Is Images to WebP Safe to Use in 2026?

Generally Safe

Score 98/100

Images to WebP has a strong security track record. Known vulnerabilities have been patched promptly.

2 known CVEsLast CVE: Oct 19, 2021Updated 2mo ago
Risk Assessment

The "images-to-webp" v5.0 plugin demonstrates a generally good security posture with several positive indicators. The static analysis reveals no direct critical or high severity taint flows, zero SQL queries executed without prepared statements, and a high percentage of properly escaped output. Furthermore, all identified AJAX handlers have nonce and capability checks, contributing to a secure entry point strategy. The absence of REST API routes and shortcodes also limits the potential attack surface.

However, the plugin's history of two high severity vulnerabilities, specifically concerning PHP Remote File Inclusion and Cross-Site Request Forgery, is a significant concern. While currently unpatched CVEs are zero, the presence of past high-severity issues, especially those related to file inclusion, suggests potential weaknesses in input validation or authorization mechanisms that could be exploited if not meticulously addressed. The existence of file operations, even if not flagged in taint analysis, warrants careful scrutiny in future code reviews. The static analysis, while positive on current code, doesn't negate the lessons learned from past vulnerabilities.

In conclusion, while the current version shows improved security practices like proper escaping and robust checks on its known entry points, the historical vulnerability pattern, particularly for RFI, demands vigilance. The plugin has strengths in its handling of SQL and output, but its past indicates a need for ongoing security audits and a thorough understanding of potential edge cases that could lead to exploitable conditions.

Key Concerns

  • History of 2 high severity CVEs
  • History of RFI and CSRF vulnerabilities
  • 3 file operations present
Vulnerabilities
2

Images to WebP Security Vulnerabilities

CVEs by Year

2 CVEs in 2021
2021
Patched Has unpatched

Severity Breakdown

High
2

2 total CVEs

CVE-2021-24644high · 7.5Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')

Images to WebP <= 1.8 - Local File Inclusion

Oct 19, 2021 Patched in 1.9 (826d)
CVE-2021-24641high · 8.1Cross-Site Request Forgery (CSRF)

Images to WebP < 1.9 - Cross-Site Request Forgery

Oct 19, 2021 Patched in 1.9 (826d)
Code Analysis
Analyzed Mar 16, 2026

Images to WebP Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
0 prepared
Unescaped Output
4
32 escaped
Nonce Checks
6
Capability Checks
4
File Operations
3
External Requests
0
Bundled Libraries
0

Output Escaping

89% escaped36 total outputs
Data Flows
All sanitized

Data Flow Analysis

2 flows
itw_convert_old_images (images-to-webp.php:325)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Images to WebP Attack Surface

Entry Points4
Unprotected0

AJAX Handlers 4

authwp_ajax_itw_convert_old_imagesimages-to-webp.php:26
authwp_ajax_itw_subdirectoriesimages-to-webp.php:27
authwp_ajax_itw_get_all_subdirectoriesimages-to-webp.php:28
authwp_ajax_avif_notice_dismissedimages-to-webp.php:40
WordPress Hooks 9
actionadmin_menuimages-to-webp.php:25
actionadmin_enqueue_scriptsimages-to-webp.php:29
filtermod_rewrite_rulesimages-to-webp.php:30
filterwp_delete_fileimages-to-webp.php:31
filterwp_update_attachment_metadataimages-to-webp.php:32
actionfly_image_createdimages-to-webp.php:33
actionbis_image_createdimages-to-webp.php:34
actionitw_cron_convert_attachmentimages-to-webp.php:35
actionadmin_noticesimages-to-webp.php:39

Scheduled Events 1

itw_cron_convert_attachment
Maintenance & Trust

Images to WebP Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedJan 14, 2026
PHP min version7.0
Downloads134K

Community Trust

Rating88/100
Number of ratings31
Active installs9K
Developer Profile

Images to WebP Developer Profile

kubiq

13 plugins · 136K total installs

78
trust score
Avg Security Score
99/100
Avg Patch Time
468 days
View full developer profile
Detection Fingerprints

How We Detect Images to WebP

Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.

Asset Fingerprints

Asset Paths
/wp-content/plugins/images-to-webp/assets/jstree.min.css/wp-content/plugins/images-to-webp/assets/jstree.min.js/wp-content/plugins/images-to-webp/assets/convert.js
Script Paths
assets/jstree.min.jsassets/convert.js
Version Parameters
images-to-webp/assets/jstree.min.css?ver=images-to-webp/assets/jstree.min.js?ver=images-to-webp/assets/convert.js?ver=

HTML / DOM Fingerprints

CSS Classes
avif-notice
HTML Comments
# BEGIN Images to WebP# END Images to WebP
JS Globals
transparency_status_messageerror_message
REST Endpoints
/wp-json/images-to-webp/v1/convert/wp-json/images-to-webp/v1/settings
FAQ

Frequently Asked Questions about Images to WebP