Autoremove Attachments Security & Risk Analysis

wordpress.org/plugins/autoremove-attachments

Remove child attachments when parent post, page or custom post type is deleted.

3K active installs v1.3.1 PHP 7.4+ WP 5.8+ Updated Aug 12, 2023
attachmentcustom-post-typemediapagepost
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Autoremove Attachments Safe to Use in 2026?

Generally Safe

Score 85/100

Autoremove Attachments has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 2yr ago
Risk Assessment

The "autoremove-attachments" plugin v1.3.1 exhibits a generally good security posture with no known vulnerabilities in its history and a limited attack surface. The static analysis reveals no direct entry points that are unprotected, indicating a conscious effort to implement security checks. The presence of nonce and capability checks, though limited, is a positive sign. However, the code analysis raises significant concerns regarding data handling. The plugin performs SQL queries, and a concerning 100% of these queries are not using prepared statements, posing a high risk of SQL injection vulnerabilities. Furthermore, a substantial portion of output (83%) is not properly escaped, leading to potential Cross-Site Scripting (XSS) vulnerabilities. The absence of taint analysis results is noted, but the identified SQL and output issues are critical enough to warrant immediate attention.

Key Concerns

  • SQL queries not using prepared statements
  • High percentage of unescaped output
Vulnerabilities
None known

Autoremove Attachments Security Vulnerabilities

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

Autoremove Attachments Code Analysis

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

SQL Query Safety

0% prepared3 total queries

Output Escaping

17% escaped35 total outputs
Attack Surface

Autoremove Attachments Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 10
actionplugins_loadedautoremove-attachments.php:103
actionnetwork_admin_noticesincludes\class-autoremove-attachments-requirements.php:32
actionadmin_noticesincludes\class-autoremove-attachments-requirements.php:33
actionplugins_loadedincludes\class-autoremove-attachments-textdomain.php:31
actionnetwork_admin_noticesincludes\classes\class-autoremove-attachments-admin.php:31
actionadmin_noticesincludes\classes\class-autoremove-attachments-admin.php:32
actionbefore_delete_postincludes\classes\class-autoremove-attachments-admin.php:33
actionadmin_initincludes\classes\class-autoremove-attachments-options.php:30
actionplugins_loadedincludes\classes\class-autoremove-attachments-updates.php:31
actionwpmu_new_blogincludes\classes\class-autoremove-attachments-updates.php:32
Maintenance & Trust

Autoremove Attachments Maintenance & Trust

Maintenance Signals

WordPress version tested6.3.8
Last updatedAug 12, 2023
PHP min version7.4
Downloads34K

Community Trust

Rating100/100
Number of ratings15
Active installs3K
Developer Profile

Autoremove Attachments Developer Profile

Polygon Themes

2 plugins · 4K total installs

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

How We Detect Autoremove Attachments

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/autoremove-attachments/assets/css/admin.css/wp-content/plugins/autoremove-attachments/assets/js/admin.js
Script Paths
/wp-content/plugins/autoremove-attachments/assets/js/admin.js
Version Parameters
autoremove-attachments/assets/css/admin.css?ver=autoremove-attachments/assets/js/admin.js?ver=

HTML / DOM Fingerprints

FAQ

Frequently Asked Questions about Autoremove Attachments