Comment Moderation Role by WPBeginner Security & Risk Analysis

wordpress.org/plugins/comment-moderation-role

Add a new comment moderator user role to your site.

200 active installs v1.1.1 PHP 5.6+ WP 5.1+ Updated Aug 2, 2022
capabilitiescomment-moderationcommentsroles
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Comment Moderation Role by WPBeginner Safe to Use in 2026?

Generally Safe

Score 85/100

Comment Moderation Role by WPBeginner has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 3yr ago
Risk Assessment

The "comment-moderation-role" plugin version 1.1.2 exhibits a generally good security posture, with strong adherence to secure coding practices like using prepared statements for all SQL queries and proper output escaping. The absence of known CVEs and recorded vulnerabilities further reinforces this positive assessment. The plugin also demonstrates diligence in implementing nonce and capability checks. However, a significant concern arises from the presence of a single AJAX handler that lacks authentication checks. This unprotected entry point represents a direct avenue for potential exploitation, especially if it handles user-provided data that isn't sufficiently sanitized or validated within the handler itself, even though the static analysis did not flag specific taint flows or dangerous functions.

Key Concerns

  • Unprotected AJAX handler
Vulnerabilities
None known

Comment Moderation Role by WPBeginner Security Vulnerabilities

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

Comment Moderation Role by WPBeginner Code Analysis

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

SQL Query Safety

100% prepared2 total queries

Output Escaping

100% escaped36 total outputs
Data Flows
All sanitized

Data Flow Analysis

2 flows
admin_page (inc\admin-screen.php:141)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface
1 unprotected

Comment Moderation Role by WPBeginner Attack Surface

Entry Points1
Unprotected1

AJAX Handlers 1

authwp_ajax_replyto-commentinc\namespace.php:16
WordPress Hooks 8
actionadmin_menuinc\admin-screen.php:23
filtercomments_list_table_query_argsinc\admin-screen.php:35
filtercomments_list_table_query_argsinc\admin-screen.php:142
filtermap_meta_capinc\meta-caps.php:20
filterwoocommerce_prevent_admin_accessinc\namespace.php:19
filterpre_comment_contentinc\namespace.php:154
actionplugins_loadedinc\roles-caps.php:20
actionplugins_loadedinc\roles-caps.php:21
Maintenance & Trust

Comment Moderation Role by WPBeginner Maintenance & Trust

Maintenance Signals

WordPress version tested6.0.11
Last updatedAug 2, 2022
PHP min version5.6
Downloads5K

Community Trust

Rating74/100
Number of ratings3
Active installs200
Developer Profile

Comment Moderation Role by WPBeginner Developer Profile

WPBeginner

3 plugins · 61K total installs

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

How We Detect Comment Moderation Role by WPBeginner

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/comment-moderation-role/css/styles.css/wp-content/plugins/comment-moderation-role/js/admin-script.js
Script Paths
/wp-content/plugins/comment-moderation-role/js/admin-script.js
Version Parameters
comment-moderation-role/css/styles.css?ver=comment-moderation-role/js/admin-script.js?ver=

HTML / DOM Fingerprints

CSS Classes
awaiting-modcount-pending-countcomments-in-moderation-textscreen-reader-text
HTML Comments
<!-- Custom validation sanitization functions fail with namespaces. --><!-- For low privileged users, this will replace the author querystring parameter on the comment list table with the logged in users ID. --><!-- As there isn't a UI for selecting the author and the parameter is only available via URL hacking, the imperfect behaviour here is simply ignored. --><!-- Do not display any posts if the resolved post types is an empty array, this is a nasty hack to prevent the query from returning all post types, both public and private. -->+2 more
JS Globals
var pagenumvar doaction
FAQ

Frequently Asked Questions about Comment Moderation Role by WPBeginner