
Hide Menu Items by Role Security & Risk Analysis
wordpress.org/plugins/hide-menu-items-by-roleA simple WordPress plugin to hide menu items based on user roles.
Is Hide Menu Items by Role Safe to Use in 2026?
Generally Safe
Score 92/100Hide Menu Items by Role has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.
The "hide-menu-items-by-role" plugin v1.0.1 exhibits a strong security posture based on the provided static analysis and vulnerability history. The absence of dangerous functions, external HTTP requests, file operations, and SQL queries (with all queries being prepared) are significant strengths. Furthermore, all identified output operations are properly escaped, and there are no taint analysis findings, indicating a lack of easily exploitable vulnerabilities related to data sanitization and input validation. The plugin also has a clean vulnerability history with no recorded CVEs.
However, the analysis reveals a complete lack of any security checks for its entry points, including AJAX handlers, REST API routes, and shortcodes. While the current version reports zero entry points, this can be a concern if the plugin's functionality evolves to include these in the future without proper security measures. The absence of nonce and capability checks, even with zero entry points currently, suggests a potential for future issues if new interactive elements are introduced. The plugin's strengths lie in its clean code and lack of known vulnerabilities, but its complete reliance on having no exploitable entry points is a notable weakness.
Key Concerns
- Zero nonce checks present
- Zero capability checks present
Hide Menu Items by Role Security Vulnerabilities
Hide Menu Items by Role Code Analysis
Output Escaping
Hide Menu Items by Role Attack Surface
WordPress Hooks 4
Maintenance & Trust
Hide Menu Items by Role Maintenance & Trust
Maintenance Signals
Community Trust
Hide Menu Items by Role Alternatives
Different Menu in Different Pages – Conditional Menu
different-menus-in-different-pages
Easily assign different menus to pages, posts, user roles, devices, and custom URLs using advanced conditional menu visibility rules.
Menu By User Roles
menu-by-user-roles
Menu By User Roles allows you to control the visibility of menu items based on user roles.
Menu Ghost
menu-ghost
Target menu items by role, device, schedule, and campaign rules using a fast, native conditions interface inside the menu editor.
PublishPress Capabilities – User Role Editor, Access Permissions, User Capabilities, Admin Menus
capability-manager-enhanced
PublishPress Capabilities is the access control plugin. You can manage user capabilities, permissions, user roles, admin menus and more.
Menu Visibility Control
menu-visibility-control
Control WordPress menu item visibility based on login status, user roles, device type, or specific pages — lightweight and theme-agnostic.
Hide Menu Items by Role Developer Profile
1 plugin · 70 total installs
How We Detect Hide Menu Items by Role
Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.
Asset Fingerprints
HTML / DOM Fingerprints
edit-menu-item-customname="menu-item-user-roles