Media Gallery Cleaner Security & Risk Analysis

wordpress.org/plugins/media-gallery-cleaner

Scans your website and identifies unused media files for cleanup.

0 active installs v1.0.0 PHP 7.4+ WP 5.8+ Updated Aug 2, 2025
image-cleanupmedia-cleanermedia-optimizationunused-media
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Media Gallery Cleaner Safe to Use in 2026?

Generally Safe

Score 100/100

Media Gallery Cleaner has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 8mo ago
Risk Assessment

The media-gallery-cleaner plugin v1.0.0 exhibits a generally good security posture, with several positive indicators. The code employs prepared statements for all SQL queries, a strong practice that mitigates SQL injection risks. Furthermore, over 98% of outputs are properly escaped, significantly reducing the likelihood of Cross-Site Scripting (XSS) vulnerabilities. The absence of critical or high-severity taint flows and a clean vulnerability history with zero known CVEs are also positive signs, suggesting diligent development and a stable codebase.

However, the plugin presents a significant concern due to its attack surface. It exposes two AJAX handlers, one of which lacks proper authentication checks. This unprotected entry point is a direct risk for potential unauthorized actions or information disclosure if not handled with extreme care. While the plugin does include nonce checks and capability checks on some entry points, the unprotected AJAX handler bypasses these crucial security layers. The presence of file operations, though only one, warrants attention in conjunction with the unprotected AJAX handler, as it could potentially be exploited in combination with other vulnerabilities if they were to exist.

In conclusion, the plugin has implemented several strong security practices, particularly concerning database interactions and output sanitization. The lack of historical vulnerabilities is commendable. However, the unprotected AJAX handler creates a critical security gap that significantly elevates the risk profile. Addressing this single, unprotected entry point should be the highest priority to improve the plugin's overall security.

Key Concerns

  • Unprotected AJAX handler
  • File operation present
Vulnerabilities
None known

Media Gallery Cleaner Security Vulnerabilities

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

Media Gallery Cleaner Code Analysis

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

SQL Query Safety

100% prepared8 total queries

Output Escaping

98% escaped44 total outputs
Data Flows
All sanitized

Data Flow Analysis

3 flows
render_admin_page (includes\admin-interface.php:54)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface
1 unprotected

Media Gallery Cleaner Attack Surface

Entry Points2
Unprotected1

AJAX Handlers 2

authwp_ajax_media_cleaner_deleteincludes\admin-interface.php:7
authwp_ajax_media_cleaner_deleteincludes\cleanup.php:2
WordPress Hooks 2
actionadmin_menuincludes\admin-interface.php:5
actionadmin_enqueue_scriptsincludes\admin-interface.php:6
Maintenance & Trust

Media Gallery Cleaner Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedAug 2, 2025
PHP min version7.4
Downloads223

Community Trust

Rating0/100
Number of ratings0
Active installs0
Developer Profile

Media Gallery Cleaner Developer Profile

Muhammad Umer Shahzad

3 plugins · 20 total installs

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

How We Detect Media Gallery Cleaner

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/media-gallery-cleaner/assets/css/admin.css/wp-content/plugins/media-gallery-cleaner/assets/js/admin.js
Script Paths
admin.js
Version Parameters
media-gallery-cleaner

HTML / DOM Fingerprints

CSS Classes
media-cleaner-cssmedia-cleaner-js
Data Attributes
data-mediaid
JS Globals
mediaCleaner
FAQ

Frequently Asked Questions about Media Gallery Cleaner