Compress PNG for WP Security & Risk Analysis

wordpress.org/plugins/compress-png-for-wp

Compress PNG files using the TinyPNG API.

200 active installs v1.3.5 PHP + WP 3.0.1+ Updated Jan 21, 2015
imageimagesmediatinyjpegtinypng
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Compress PNG for WP Safe to Use in 2026?

Generally Safe

Score 85/100

Compress PNG for WP has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 11yr ago
Risk Assessment

The plugin 'compress-png-for-wp' v1.3.5 exhibits a generally strong security posture based on the provided static analysis. The absence of identified AJAX handlers, REST API routes, shortcodes, and cron events suggests a minimal attack surface. Furthermore, the code signals indicate good practices in handling SQL queries, all of which are prepared statements. The presence of nonce and capability checks demonstrates an awareness of WordPress security fundamentals.

However, a significant concern arises from the low percentage (29%) of properly escaped output. This suggests that user-supplied data or dynamically generated content might be vulnerable to Cross-Site Scripting (XSS) attacks if not handled with sufficient sanitization before rendering. The fact that taint analysis found no unsanitized paths or critical/high severity flows is positive, but it does not negate the risk posed by unescaped output. The plugin's vulnerability history is clean, with no recorded CVEs, which is a strong indicator of its current security standing and the development team's commitment to security.

In conclusion, while the plugin benefits from a limited attack surface and good SQL handling, the insufficient output escaping presents a notable risk. This weakness, if exploited, could lead to XSS vulnerabilities. The clean vulnerability history is a significant strength, but it's crucial to address the output escaping issue to maintain this strong record.

Key Concerns

  • Low percentage of properly escaped output
Vulnerabilities
None known

Compress PNG for WP Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Code Analysis
Analyzed Mar 16, 2026

Compress PNG for WP Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
0 prepared
Unescaped Output
12
5 escaped
Nonce Checks
1
Capability Checks
1
File Operations
2
External Requests
2
Bundled Libraries
0

Output Escaping

29% escaped17 total outputs
Attack Surface

Compress PNG for WP Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 9
filterjpeg_qualitygecko-tiny-png-index.php:26
filterwp_generate_attachment_metadatagecko-tiny-png-index.php:27
filtermanage_media_columnsgecko-tiny-png-index.php:32
actionmanage_media_custom_columngecko-tiny-png-index.php:33
actionadmin_action_gd_tinypng_compress_existinggecko-tiny-png-index.php:34
actionadmin_initgecko-tiny-png-index.php:35
actionadmin_head-upload.phpgecko-tiny-png-index.php:36
actionadmin_action_bulk_compress_pnggecko-tiny-png-index.php:37
actionadmin_noticesgecko-tiny-png-index.php:40
Maintenance & Trust

Compress PNG for WP Maintenance & Trust

Maintenance Signals

WordPress version tested4.1.42
Last updatedJan 21, 2015
PHP min version
Downloads19K

Community Trust

Rating90/100
Number of ratings13
Active installs200
Developer Profile

Compress PNG for WP Developer Profile

geckodesigns

1 plugin · 200 total installs

84
trust score
Avg Security Score
85/100
Avg Patch Time
30 days
View full developer profile
Detection Fingerprints

How We Detect Compress PNG for WP

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/compress-png-for-wp/js/tinypng-notice.js/wp-content/plugins/compress-png-for-wp/css/tinypng-admin.css/wp-content/plugins/compress-png-for-wp/js/tinypng-admin.js
Script Paths
/wp-content/plugins/compress-png-for-wp/js/tinypng-notice.js/wp-content/plugins/compress-png-for-wp/js/tinypng-admin.js
Version Parameters
compress-png-for-wp/css/tinypng-admin.css?ver=compress-png-for-wp/js/tinypng-notice.js?ver=compress-png-for-wp/js/tinypng-admin.js?ver=

HTML / DOM Fingerprints

CSS Classes
tinypng-notice-msg
Data Attributes
data-gd-tinypng-id
JS Globals
GD_Tiny_PNG_ADMIN
FAQ

Frequently Asked Questions about Compress PNG for WP