
PBP Restricted Menu-Widget by role Security & Risk Analysis
wordpress.org/plugins/pbp-restricted-menu-widget-by-roleDisplay menu or widget items based on if a user is logged in, logged out or both.
Is PBP Restricted Menu-Widget by role Safe to Use in 2026?
Generally Safe
Score 85/100PBP Restricted Menu-Widget by role has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.
The "pbp-restricted-menu-widget-by-role" plugin v1.1.1 demonstrates a generally strong security posture, particularly in its avoidance of common attack vectors like AJAX handlers, REST API routes, shortcodes, and cron events. The complete absence of direct SQL queries and file operations is a significant strength. The presence of nonce and capability checks, albeit limited in number, also indicates an awareness of basic security principles. However, a critical concern arises from the taint analysis, which reveals two flows with unsanitized paths. While these did not escalate to critical or high severity vulnerabilities in the static analysis, they represent potential entry points for malicious input that could be processed insecurely if not properly handled downstream. Furthermore, the low percentage of properly escaped output (32%) is a notable weakness, increasing the risk of Cross-Site Scripting (XSS) vulnerabilities, especially if dynamic content is rendered without adequate sanitization. The plugin's clean vulnerability history is a positive indicator, but it does not negate the risks identified in the current code analysis. Overall, while the plugin has a small attack surface and good handling of core WordPress security features, the identified unsanitized paths and poor output escaping warrant careful review and remediation.
Key Concerns
- Unsanitized paths in taint flows
- Low percentage of properly escaped output
PBP Restricted Menu-Widget by role Security Vulnerabilities
PBP Restricted Menu-Widget by role Code Analysis
Output Escaping
Data Flow Analysis
PBP Restricted Menu-Widget by role Attack Surface
WordPress Hooks 6
Maintenance & Trust
PBP Restricted Menu-Widget by role Maintenance & Trust
Maintenance Signals
Community Trust
PBP Restricted Menu-Widget by role Alternatives
Easy Menu Manager
easy-menu-manager
A simple yet powerful plugin to control menu item visibility based on user roles.
ElementsKit Elementor Addons – Advanced Widgets & Templates Addons for Elementor
elementskit-lite
Join millions who empower their websites with ElementsKit Elementor Addons. Get templates, & 100+ widgets like header-footer, mega menu, custom widget
Premium Addons for Elementor – Powerful Elementor Templates & Widgets
premium-addons-for-elementor
Elementor Carousel, Mega Menu, Posts List/Slider, Media Gallery, WooCommerce Widgets, Display Conditions, Premade Templates & more.
Happy Addons for Elementor
happy-elementor-addons
HappyAddons for Elementor-Get Header Footer, Single Post, Archive Page, Megamenu, Slider Builder & 143 Elementor Widgets.
Sticky Menu & Sticky Header
sticky-menu-or-anything-on-scroll
Sticky Menu or Sticky Header sticks elements at the top of the screen when you scroll, or create a floating sticky menu or fixed widget.
PBP Restricted Menu-Widget by role Developer Profile
5 plugins · 60 total installs
How We Detect PBP Restricted Menu-Widget by role
Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.
Asset Fingerprints
/wp-content/plugins/pbp-restricted-menu-widget-by-role/customWalker.phpHTML / DOM Fingerprints
priv_widget_logged_in_out_field<!--
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2, as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
--><!--
* Don't display if wordpress admin class is not found
* Protects code if wordpress breaks
--><!--
* Create class privMenu() to prevent any function name conflicts with other WordPress plugins or the WordPress core.
* @since 0.1
--><!--
* Removes items from the menu displayed to the user if that menu item has been denied access to them in the admin panel
* @since 0.2
-->+7 moreid="widget-priv_widget_role-id="priv_widget_logged_out-for-name="priv-widget-logged-in-out[id="priv_widget_logged_in-for-class="widget-id"value="+5 more