Approved Comments Only Security & Risk Analysis

wordpress.org/plugins/approved-comments-only

Restrict user to view the unapproved comments in dashboard.

10 active installs v1.2 PHP + WP + Updated Sep 6, 2016
approvedapproved-commentscommentscontrolhidemoderated-comments
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Approved Comments Only Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 9yr ago
Risk Assessment

The 'approved-comments-only' plugin v1.2 exhibits a strong security posture based on the provided static analysis results. The absence of AJAX handlers, REST API routes, shortcodes, cron events, and file operations significantly limits the attack surface. Furthermore, the code demonstrates good practices by utilizing prepared statements for all SQL queries and having a high percentage of properly escaped output. The lack of dangerous functions and external HTTP requests further reinforces its secure design. The vulnerability history shows no recorded CVEs, indicating a lack of publicly disclosed security flaws. This suggests that the plugin has historically been maintained with security in mind or has not yet attracted significant security scrutiny.

However, a notable concern arises from the complete absence of nonce checks and capability checks. While the current analysis shows no direct entry points without authentication, this lack of checks creates a potential weakness. If future updates introduce new functionalities, especially AJAX handlers or REST API endpoints, without implementing proper nonce and capability verification, it could lead to vulnerabilities such as Cross-Site Request Forgery (CSRF) or unauthorized access. The taint analysis showing no identified flows is positive, but it's crucial to recognize that static analysis has limitations and might not catch all complex or context-dependent vulnerabilities. The overall conclusion is that the plugin is currently secure, but the absence of nonce and capability checks represents a significant technical debt that could introduce risks if not addressed in future development.

Key Concerns

  • Missing nonce checks
  • Missing capability checks
Vulnerabilities
None known

Approved Comments Only Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Version History

Approved Comments Only Release Timeline

v1.2Current
v1.0.1
v1.0
Code Analysis
Analyzed Apr 16, 2026

Approved Comments Only Code Analysis

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

Output Escaping

80% escaped5 total outputs
Attack Surface

Approved Comments Only Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 7
actionadmin_menuapproved-comments-only.php:16
actionplugins_loadedapproved-comments-only.php:17
actionadmin_initapproved-comments-only.php:29
filterthe_commentsapproved-comments-only.php:50
filtercomments_per_pageapproved-comments-only.php:51
filtermanage_comments_navapproved-comments-only.php:52
filtercomment_status_linksapproved-comments-only.php:53
Maintenance & Trust

Approved Comments Only Maintenance & Trust

Maintenance Signals

WordPress version tested4.6.30
Last updatedSep 6, 2016
PHP min version
Downloads2K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

Approved Comments Only Developer Profile

Gurmeet Singh

1 plugin · 10 total installs

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

How We Detect Approved Comments Only

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/approved-comments-only/assets/css/approved-comments-only.css
Version Parameters
approved-comments-only/assets/css/approved-comments-only.css?ver=

HTML / DOM Fingerprints

CSS Classes
tablenav-pagesdisplaying-numpaging-inputtablenav-pages-navspanfirst-pageprev-pagenext-pagelast-page+1 more
Data Attributes
id="current-page-selector"
FAQ

Frequently Asked Questions about Approved Comments Only