Delete Post with Attachments Security & Risk Analysis

wordpress.org/plugins/delete-post-with-attachments

A simple plugin to delete attached media files e.g. images/videos/documents, when the post is deleted. Supports Elementor, Divi Builder, Thrive Archit …

1K active installs v2.0 PHP 5.6+ WP 4.1+ Updated Aug 19, 2025
attachmentcleanupdeletemediapost
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Delete Post with Attachments Safe to Use in 2026?

Generally Safe

Score 100/100

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

No known CVEs Updated 7mo ago
Risk Assessment

The "delete-post-with-attachments" v2.0 plugin exhibits a strong security posture based on the provided static analysis. The absence of any identified dangerous functions, file operations, or external HTTP requests is commendable. Furthermore, all SQL queries are properly prepared, and all output is correctly escaped, mitigating common attack vectors like SQL injection and cross-site scripting. The plugin also has a clean vulnerability history with no recorded CVEs, indicating a history of secure development practices.

However, a significant concern arises from the complete lack of capability checks and nonce checks across all identified entry points, which are zero. While the current attack surface is minimal, this absence of authorization and CSRF protection means that if any entry points were to be introduced or discovered in the future, they would likely be unprotected. This reliance on the *absence* of vulnerabilities rather than proactive security measures is a potential weakness that could become a significant risk if the plugin's functionality or attack surface expands.

Key Concerns

  • No capability checks on entry points
  • No nonce checks on entry points
Vulnerabilities
None known

Delete Post with Attachments Security Vulnerabilities

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

Delete Post with Attachments Code Analysis

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

SQL Query Safety

100% prepared8 total queries

Output Escaping

100% escaped2 total outputs
Attack Surface

Delete Post with Attachments Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 1
actionbefore_delete_postdelete-post-with-attachments.php:29
Maintenance & Trust

Delete Post with Attachments Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedAug 19, 2025
PHP min version5.6
Downloads9K

Community Trust

Rating84/100
Number of ratings6
Active installs1K
Developer Profile

Delete Post with Attachments Developer Profile

Alsvin Tech

3 plugins · 1K total installs

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

How We Detect Delete Post with Attachments

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/delete-post-with-attachments/js/alsvin-dpwa-admin.js

HTML / DOM Fingerprints

Data Attributes
data-media-idid='123'
Shortcode Output
[thrive_image
FAQ

Frequently Asked Questions about Delete Post with Attachments