Media Cleaner for WP Security & Risk Analysis

wordpress.org/plugins/media-cleaner-for-wp

Media Cleaner for WordPress is an essential tool designed to streamline your WordPress media library. It efficiently removes unused media files.

10 active installs v1.0.0 PHP 7.0+ WP 4.9+ Updated Sep 12, 2024
cleanerfilesimagesmedia
92
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Media Cleaner for WP Safe to Use in 2026?

Generally Safe

Score 92/100

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

No known CVEs Updated 1yr ago
Risk Assessment

The media-cleaner-for-wp v1.0.0 plugin exhibits a mixed security posture. On the positive side, it demonstrates excellent practices regarding output escaping, with all identified outputs being properly escaped. Furthermore, there's no recorded vulnerability history, suggesting a stable and well-maintained codebase in that regard. The absence of dangerous functions, file operations, and external HTTP requests are also strong security indicators.

However, significant concerns arise from the attack surface analysis. The plugin exposes 6 AJAX handlers, with a concerning 3 of them lacking any authentication checks. This represents a direct entry point for unauthorized actions. While the static analysis did not reveal any dangerous functions or taint flows, the potential for these to be exploited through the unprotected AJAX endpoints cannot be ignored. The SQL query usage is also a point of minor concern, with 44% not using prepared statements, which could be a vector for SQL injection if data originates from untrusted sources and isn't adequately sanitized before reaching these queries.

In conclusion, while the plugin has a clean vulnerability history and good output escaping, the lack of authentication on a substantial portion of its AJAX handlers is a critical security weakness that significantly elevates its risk profile. The SQL practices, while not ideal, are less immediately concerning than the exposed AJAX endpoints. Addressing the unprotected AJAX handlers should be the top priority for improving the security of this plugin.

Key Concerns

  • AJAX handlers without auth checks
  • SQL queries not using prepared statements
Vulnerabilities
None known

Media Cleaner for WP Security Vulnerabilities

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

Media Cleaner for WP Code Analysis

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

SQL Query Safety

44% prepared9 total queries

Output Escaping

100% escaped20 total outputs
Attack Surface
3 unprotected

Media Cleaner for WP Attack Surface

Entry Points6
Unprotected3

AJAX Handlers 6

authwp_ajax_mcfwp_scanmedia-cleaner-for-wp.php:59
authwp_ajax_mcfwp_check_unused_imagesmedia-cleaner-for-wp.php:70
authwp_ajax_mcfwp_unused_imagesmedia-cleaner-for-wp.php:86
authwp_ajax_mcfwp_deletemedia-cleaner-for-wp.php:113
authwp_ajax_mcfwp_trashmedia-cleaner-for-wp.php:145
authwp_ajax_mcfwp_restoremedia-cleaner-for-wp.php:170
WordPress Hooks 2
actionadmin_menumedia-cleaner-for-wp.php:18
actionadmin_enqueue_scriptsmedia-cleaner-for-wp.php:30
Maintenance & Trust

Media Cleaner for WP Maintenance & Trust

Maintenance Signals

WordPress version tested6.6.5
Last updatedSep 12, 2024
PHP min version7.0
Downloads1K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

Media Cleaner for WP Developer Profile

Above Bits

2 plugins · 20 total installs

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

How We Detect Media Cleaner 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/media-cleaner-for-wp/assets/css/style.css/wp-content/plugins/media-cleaner-for-wp/assets/js/script.js
Script Paths
/wp-content/plugins/media-cleaner-for-wp/assets/js/script.js
Version Parameters
media-cleaner-for-wp/assets/js/script.js?ver=media-cleaner-for-wp/assets/css/style.css?ver=

HTML / DOM Fingerprints

JS Globals
mcfwp_ajax_var
REST Endpoints
/wp-json/media-cleaner-for-wp/
FAQ

Frequently Asked Questions about Media Cleaner for WP