ContentGate – Content Restriction & Access Control by Login Status & User Role Security & Risk Analysis

wordpress.org/plugins/contentgate

Restrict content access on your WordPress site based on user roles or login status. Protect posts, pages, or even your entire site with ease.

0 active installs v1.0.1 PHP 7.4+ WP 5.5+ Updated Apr 9, 2026
access-controlcontent-restriction
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is ContentGate – Content Restriction & Access Control by Login Status & User Role Safe to Use in 2026?

Generally Safe

Score 100/100

ContentGate – Content Restriction & Access Control by Login Status & User Role has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 1mo ago
Risk Assessment

Based on the provided static analysis and vulnerability history, the contentgate plugin version 1.0.1 exhibits a generally strong security posture. The absence of any identified CVEs, critical taint flows, dangerous functions, or file operations is highly positive. The plugin also demonstrates good practices by ensuring all SQL queries are prepared and all output is properly escaped. The presence of capability checks, while not extensive, indicates some level of access control is considered.

However, a significant concern is the complete lack of nonces. While the static analysis shows 0 AJAX handlers and 0 entry points overall, which limits the immediate attack surface, the absence of nonces means that if any functionality were to be exposed in the future, it would be inherently vulnerable to Cross-Site Request Forgery (CSRF) attacks. The bundled library, Select2, could also be a potential concern if it is an outdated version, though this is not explicitly stated in the provided data. The zero taint flows are excellent, but the very small attack surface and limited number of capability checks might also suggest that the plugin's functionality is minimal, which could explain the lack of discovered vulnerabilities or complex code paths.

In conclusion, contentgate v1.0.1 appears secure against common vulnerabilities based on the current analysis, particularly regarding SQL injection and XSS. Its strength lies in its clean code concerning database interactions and output handling. The primary weakness is the reliance on future implementation for security measures like nonces, leaving it exposed to CSRF if new entry points are added without proper safeguards. The plugin history of zero vulnerabilities further reinforces its current perceived security, but this could be due to its limited scope or the static analysis not covering all possible interaction vectors.

Key Concerns

  • Missing nonce checks
  • Bundled library (Select2) might be outdated
Vulnerabilities
None known

ContentGate – Content Restriction & Access Control by Login Status & User Role Security Vulnerabilities

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

ContentGate – Content Restriction & Access Control by Login Status & User Role Release Timeline

v1.0.1Current
v1.0.0
Code Analysis
Analyzed Apr 16, 2026

ContentGate – Content Restriction & Access Control by Login Status & User Role Code Analysis

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

Bundled Libraries

Select2

Output Escaping

100% escaped67 total outputs
Attack Surface

ContentGate – Content Restriction & Access Control by Login Status & User Role Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 17
actionrest_api_initincludes/RestApi/class-contentgate-rest-api.php:22
actionadmin_menuincludes/admin/class-contentgate-admin.php:13
actionin_admin_headerincludes/admin/class-contentgate-admin.php:14
actioninitincludes/class-contentgate-post-types.php:22
actionwp_enqueue_scriptsincludes/frontend/class-contentgate-frontend.php:13
actiontemplate_redirectincludes/frontend/class-contentgate-frontend.php:14
filtertemplate_includeincludes/frontend/class-contentgate-frontend.php:15
filtertemplate_includeincludes/frontend/class-contentgate-frontend.php:16
filtertemplate_includeincludes/frontend/class-contentgate-frontend.php:17
filterbody_classincludes/frontend/class-contentgate-frontend.php:758
actionwoocommerce_after_single_productincludes/frontend/class-contentgate-frontend.php:791
actionwoocommerce_before_shop_loopincludes/frontend/class-contentgate-frontend.php:800
filtercomments_openincludes/frontend/class-contentgate-frontend.php:891
filterpings_openincludes/frontend/class-contentgate-frontend.php:900
filtercomments_arrayincludes/frontend/class-contentgate-frontend.php:909
filterrender_blockincludes/frontend/class-contentgate-frontend.php:918
filterbody_classincludes/functions.php:431
Maintenance & Trust

ContentGate – Content Restriction & Access Control by Login Status & User Role Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedApr 9, 2026
PHP min version7.4
Downloads133

Community Trust

Rating0/100
Number of ratings0
Active installs0
Developer Profile

ContentGate – Content Restriction & Access Control by Login Status & User Role Developer Profile

ThemeGrill

32 plugins · 252K total installs

77
trust score
Avg Security Score
97/100
Avg Patch Time
174 days
View full developer profile
Detection Fingerprints

How We Detect ContentGate – Content Restriction & Access Control by Login Status & User Role

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

Asset Fingerprints

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

HTML / DOM Fingerprints

CSS Classes
contentgate-admin-wrapcontentgate-settings-pagecontentgate-access-rule-formcontentgate-access-rule-listcontentgate-rule-titlecontentgate-rule-actionscontentgate-content-restrictioncontentgate-restriction-settings+6 more
HTML Comments
ContentGate Admin ClassMain ContentGate Class
Data Attributes
data-contentgate-rule-iddata-contentgate-rule-titledata-contentgate-rule-statusdata-contentgate-rule-typedata-contentgate-action-iddata-contentgate-action-type+1 more
JS Globals
contentgate_admin_paramscontentgate_frontend_params
REST Endpoints
/wp-json/contentgate/v1/rules/wp-json/contentgate/v1/rules/(?P<id>[\d]+)/wp-json/contentgate/v1/settings
FAQ

Frequently Asked Questions about ContentGate – Content Restriction & Access Control by Login Status & User Role