Comments Deletion Security & Risk Analysis

wordpress.org/plugins/comments-deletion

Delete comments with one click. Comments Deletion is a plugin that quickly removes all comments and resets the comment count icon. Administrators can quickly remove ALL comments or choose which to delete ? simple and fast.

70 active installs v2.9 PHP 5.2.4+ WP 3.8+ Updated Jan 22, 2026
bulk-commentscomments-admincomments-deletiondelete-all-commentsdelete-comments
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Comments Deletion Safe to Use in 2026?

Generally Safe

Score 100/100

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

No known CVEs Updated 2mo ago
Risk Assessment

The "comments-deletion" plugin v2.9 demonstrates a strong security posture in several key areas. The static analysis shows a complete absence of direct attack surface points like AJAX handlers, REST API routes, and shortcodes that lack proper authentication or permission checks. Furthermore, all output appears to be properly escaped, and there are no indications of dangerous functions being used or external HTTP requests being made, which are common sources of vulnerabilities.

However, a significant concern arises from the SQL query handling. With 17 total SQL queries, only 12% utilize prepared statements. This means a substantial portion (88%) of the SQL queries are potentially vulnerable to SQL injection attacks if they handle user-supplied data without proper sanitization, a critical oversight. The absence of nonce checks on any entry points, although the entry points themselves are zero, could become a concern if the plugin were to evolve and introduce new handlers without these protections. The plugin's vulnerability history is clean, with no recorded CVEs, which is positive, but it doesn't negate the inherent risk posed by the raw SQL queries.

In conclusion, while the "comments-deletion" plugin v2.9 excels in preventing common attack vectors and ensuring safe output, the prevalent use of raw SQL queries without prepared statements represents a significant security weakness. The lack of recorded vulnerabilities to date is fortunate, but this underlying technical debt in database interaction could lead to serious security breaches if not addressed. A focus on refactoring SQL queries to use prepared statements is highly recommended.

Key Concerns

  • High percentage of SQL queries without prepared statements
  • Zero nonce checks on entry points
Vulnerabilities
None known

Comments Deletion Security Vulnerabilities

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

Comments Deletion Code Analysis

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

SQL Query Safety

12% prepared17 total queries

Output Escaping

100% escaped11 total outputs
Attack Surface

Comments Deletion Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 4
actionwp_enqueue_scriptsadmin\admin.php:14
actionadmin_menuadmin\admin.php:19
actionadmin_enqueue_scriptsadmin\admin.php:292
filterplugin_row_metaindex.php:54
Maintenance & Trust

Comments Deletion Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedJan 22, 2026
PHP min version5.2.4
Downloads2K

Community Trust

Rating0/100
Number of ratings0
Active installs70
Developer Profile

Comments Deletion Developer Profile

Irish_Cathal

8 plugins · 640 total installs

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

How We Detect Comments Deletion

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/comments-deletion/css/style.css/wp-content/plugins/comments-deletion/js/logic.js
Script Paths
/wp-content/plugins/comments-deletion/js/logic.js
Version Parameters
comments-deletion/css/style.css?ver=comments-deletion/js/logic.js?ver=

HTML / DOM Fingerprints

CSS Classes
intro_text_classtabbedElements_firstTabcontainer_for_left_and_rightcontainer_leftcontainer_right
HTML Comments
<!-- First tab -->
Data Attributes
name="delete_comments_radio"value="delete_all_the_comments"value="delete_all_trash_comments"value="delete_all_approved_comments"value="delete_all_spam_comments"name="btn-to-delete-all-the-comments-no-further-warning"
FAQ

Frequently Asked Questions about Comments Deletion