Hide Content by User Role for WPBakery Security & Risk Analysis

wordpress.org/plugins/hide-content-by-role-for-wpbakery

Hide/show/restrict elements based on user roles like administrator in WPBakery page builder (formerly Visual Composer).

1K active installs v1.2.3 PHP 5.6+ WP 4.7.0+ Updated Mar 28, 2025
hidepagepostshowwpbakery
92
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Hide Content by User Role for WPBakery Safe to Use in 2026?

Generally Safe

Score 92/100

Hide Content by User Role for WPBakery has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 1yr ago
Risk Assessment

The static analysis of the "hide-content-by-role-for-wpbakery" plugin version 1.2.3 indicates a generally positive security posture in terms of its attack surface and internal code practices. There are no identified AJAX handlers, REST API routes, shortcodes, or cron events, meaning the direct points of entry for external interaction are nonexistent. Furthermore, the plugin appears to use prepared statements for all SQL queries, and there are no indications of file operations, external HTTP requests, or bundled libraries. This suggests a deliberate effort to minimize common attack vectors.

However, a significant concern arises from the output escaping. With 100% of outputs not being properly escaped, this presents a considerable risk of Cross-Site Scripting (XSS) vulnerabilities. Any dynamic content rendered by the plugin that is not properly sanitized before being displayed to users could be exploited. The absence of nonce checks and capability checks on any potential (though currently undiscovered) entry points further exacerbates this risk, as it implies a lack of authorization and security validation mechanisms. The vulnerability history being clean is a positive sign, but it does not negate the immediate risk posed by the unescaped output.

In conclusion, while the plugin demonstrates strengths in its limited attack surface and secure database interactions, the critical flaw of unescaped output is a serious weakness. The lack of any recorded vulnerabilities historically is encouraging, but the static analysis clearly points to a high probability of XSS if dynamic content is handled. This plugin requires immediate attention to address the output escaping issue to mitigate potential security risks.

Key Concerns

  • Unescaped output detected
  • No capability checks found
  • No nonce checks found
Vulnerabilities
None known

Hide Content by User Role for WPBakery Security Vulnerabilities

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

Hide Content by User Role for WPBakery Code Analysis

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

Output Escaping

0% escaped1 total outputs
Attack Surface

Hide Content by User Role for WPBakery Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 4
actionplugins_loadedinclude\admin.php:9
actioninitinclude\admin.php:12
filtervc_shortcode_outputinclude\frontend.php:16
actionadmin_footerintegrations\salient.php:19
Maintenance & Trust

Hide Content by User Role for WPBakery Maintenance & Trust

Maintenance Signals

WordPress version tested6.7.5
Last updatedMar 28, 2025
PHP min version5.6
Downloads11K

Community Trust

Rating100/100
Number of ratings16
Active installs1K
Developer Profile

Hide Content by User Role for WPBakery Developer Profile

wpTerra

1 plugin · 1K total installs

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

How We Detect Hide Content by User Role for WPBakery

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/hide-content-by-role-for-wpbakery/assets/css/backend.css/wp-content/plugins/hide-content-by-role-for-wpbakery/assets/js/backend.js/wp-content/plugins/hide-content-by-role-for-wpbakery/assets/css/frontend.css/wp-content/plugins/hide-content-by-role-for-wpbakery/assets/js/frontend.js
Script Paths
/wp-content/plugins/hide-content-by-role-for-wpbakery/assets/js/backend.js/wp-content/plugins/hide-content-by-role-for-wpbakery/assets/js/frontend.js
Version Parameters
hide-content-by-role-for-wpbakery/assets/css/backend.css?ver=hide-content-by-role-for-wpbakery/assets/js/backend.js?ver=hide-content-by-role-for-wpbakery/assets/css/frontend.css?ver=hide-content-by-role-for-wpbakery/assets/js/frontend.js?ver=

HTML / DOM Fingerprints

CSS Classes
hcbrwpb-backend-wrapper
Data Attributes
data-hcbrwpb-show-rolesdata-hcbrwpb-hide-roles
JS Globals
hcbrwpb_data
FAQ

Frequently Asked Questions about Hide Content by User Role for WPBakery