Auto Delete Unattached Media Security & Risk Analysis

wordpress.org/plugins/auto-delete-unattached-media

Automatically delete unattached/unused media/images/attachments every minute silently in the background.

30 active installs v1.0 PHP + WP 4.9+ Updated Feb 3, 2022
attachmentsimagesmediaunattachedunused
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Auto Delete Unattached Media Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 4yr ago
Risk Assessment

The 'auto-delete-unattached-media' plugin v1.0 exhibits a strong security posture based on the provided static analysis. The absence of dangerous functions, the exclusive use of prepared statements for SQL queries, and the complete output escaping all indicate adherence to secure coding practices. Furthermore, the lack of external HTTP requests, file operations, and a minimal attack surface with no identified unprotected entry points contribute to its robust security. The plugin's vulnerability history is also clean, with no recorded CVEs, suggesting a well-maintained and secure codebase over time.

While the static analysis reveals no immediate vulnerabilities, the absence of nonce checks and capability checks on certain potential entry points (specifically the cron event, although its functionality is not detailed) could present a theoretical risk if the cron event were to perform sensitive actions. However, without further details on the cron event's implementation and the specific actions it takes, it is difficult to assign a concrete risk. The zero taint flows and zero unsanitized paths are positive indicators, but the analysis may not cover all potential interaction vectors. Overall, the plugin appears to be secure, but a deeper review of the cron event's implementation would be beneficial to confirm its complete security.

Key Concerns

  • Missing nonce checks on cron event
  • Missing capability checks on cron event
Vulnerabilities
None known

Auto Delete Unattached Media Security Vulnerabilities

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

Auto Delete Unattached Media Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
0 prepared
Unescaped Output
0
0 escaped
Nonce Checks
0
Capability Checks
0
File Operations
0
External Requests
0
Bundled Libraries
0
Attack Surface

Auto Delete Unattached Media Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 2
filtercron_schedulesauto-delete-unattached-media.php:50
actionauto_delete_unattached_mediaauto-delete-unattached-media.php:72

Scheduled Events 1

auto_delete_unattached_media
Maintenance & Trust

Auto Delete Unattached Media Maintenance & Trust

Maintenance Signals

WordPress version tested5.9.13
Last updatedFeb 3, 2022
PHP min version
Downloads4K

Community Trust

Rating60/100
Number of ratings2
Active installs30
Developer Profile

Auto Delete Unattached Media Developer Profile

Wong Siong Kiat

2 plugins · 230 total installs

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

How We Detect Auto Delete Unattached Media

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

Asset Fingerprints

HTML / DOM Fingerprints

FAQ

Frequently Asked Questions about Auto Delete Unattached Media