PNG to JPG Security & Risk Analysis

wordpress.org/plugins/png-to-jpg

Convert PNG images to JPG, free up web space and speed up your webpage

10K active installs v4.5 PHP + WP 3.0.1+ Updated Dec 1, 2025
convertimagemediaoptimizesave-space
99
A · Safe
CVEs total1
Unpatched0
Last CVEMay 6, 2022
Safety Verdict

Is PNG to JPG Safe to Use in 2026?

Generally Safe

Score 99/100

PNG to JPG has a strong security track record. Known vulnerabilities have been patched promptly.

1 known CVELast CVE: May 6, 2022Updated 4mo ago
Risk Assessment

The "png-to-jpg" v4.5 plugin exhibits a mixed security posture. While it avoids dangerous functions and external HTTP requests, and has no currently unpatched CVEs, several concerning aspects are highlighted by the static analysis. A significant portion of its SQL queries are not properly prepared, and a concerningly low percentage of its outputs are properly escaped, increasing the risk of injection and cross-site scripting vulnerabilities. The presence of an AJAX handler without authentication checks presents a direct attack vector that could be exploited if not properly secured at the application level.

The vulnerability history shows a past high-severity CVE, although it is now patched. This, combined with the current code analysis findings, suggests a pattern of potential security weaknesses that require careful attention. The taint analysis, while showing no critical or high severity flows, did reveal one flow with unsanitized paths, which warrants further investigation to ensure it doesn't lead to file-based vulnerabilities.

In conclusion, while the plugin has a clean slate regarding active vulnerabilities, the static analysis reveals several areas of concern, particularly the unprotected AJAX endpoint, lack of output escaping, and un-prepared SQL queries. These issues, coupled with the historical presence of a high-severity vulnerability, indicate that the plugin is not adhering to best security practices and carries a moderate to high risk without further remediation.

Key Concerns

  • Unprotected AJAX handler
  • Low percentage of properly escaped output
  • Low percentage of prepared SQL statements
  • One unsanitized path flow
  • No capability checks
  • Past high severity vulnerability (indicative)
Vulnerabilities
1

PNG to JPG Security Vulnerabilities

CVEs by Year

1 CVE in 2022
2022
Patched Has unpatched

Severity Breakdown

High
1

1 total CVE

CVE-2022-29430high · 8.8Cross-Site Request Forgery (CSRF)

PNG to JPG <= 5.8 - Cross-Site Request Forgery leading to Stored Cross-Site Scripting

May 6, 2022 Patched in 4.1 (626d)
Code Analysis
Analyzed Mar 16, 2026

PNG to JPG Code Analysis

Dangerous Functions
0
Raw SQL Queries
22
1 prepared
Unescaped Output
24
11 escaped
Nonce Checks
3
Capability Checks
0
File Operations
6
External Requests
0
Bundled Libraries
0

SQL Query Safety

4% prepared23 total queries

Output Escaping

31% escaped35 total outputs
Data Flows
1 unsanitized

Data Flow Analysis

2 flows1 with unsanitized paths
tab_convert (png-to-jpg.php:350)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface
1 unprotected

PNG to JPG Attack Surface

Entry Points2
Unprotected1

AJAX Handlers 2

authwp_ajax_hasTransparencypng-to-jpg.php:26
authwp_ajax_convert_old_pngpng-to-jpg.php:27
WordPress Hooks 18
actionplugins_loadedpng-to-jpg.php:21
actionadmin_menupng-to-jpg.php:22
actioninitpng-to-jpg.php:23
actionadmin_noticespng-to-jpg.php:24
filterwp_handle_uploadpng-to-jpg.php:25
actionadd_attachmentpng-to-jpg.php:28
actionattachment_updatedpng-to-jpg.php:29
actionattachment_submitbox_misc_actionspng-to-jpg.php:30
actionadmin_initpng-to-jpg.php:31
actiondelete_attachmentpng-to-jpg.php:32
filtermedia_row_actionspng-to-jpg.php:33
filterattachment_fields_to_editpng-to-jpg.php:34
filterwp_loadedpng-to-jpg.php:35
filterposts_clausespng-to-jpg.php:37
filteradmin_noticespng-to-jpg.php:80
filteradmin_noticespng-to-jpg.php:84
filterfinal_outputpng-to-jpg.php:111
filterwp_prepare_attachment_for_jspng-to-jpg.php:112
Maintenance & Trust

PNG to JPG Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedDec 1, 2025
PHP min version
Downloads152K

Community Trust

Rating94/100
Number of ratings40
Active installs10K
Developer Profile

PNG to JPG 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 PNG to JPG

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

Asset Fingerprints

HTML / DOM Fingerprints

CSS Classes
png_converted
Data Attributes
ptj_nonce
FAQ

Frequently Asked Questions about PNG to JPG