Hide Menu Items by Role Security & Risk Analysis

wordpress.org/plugins/hide-menu-items-by-role

An enhanced WordPress plugin to hide or show menu items based on user roles and login status.

80 active installs v2.0.0 PHP 7.0+ WP 5.0+ Updated May 26, 2026
hide-menu-itemsmenunavigationrolesuser-roles
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Hide Menu Items by Role Safe to Use in 2026?

Generally Safe

Score 100/100

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

No known CVEs Updated 3mo ago
Risk Assessment

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
Vulnerabilities
None known

Hide Menu Items by Role Security Vulnerabilities

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

Hide Menu Items by Role Release Timeline

v2.0.0Current
v1.0.1
Code Analysis
Analyzed Mar 16, 2026

Hide Menu Items by Role Code Analysis

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

Output Escaping

100% escaped12 total outputs
Attack Surface

Hide Menu Items by Role Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 4
actionplugins_loadedhide-menu-items-by-role.php:26
actionwp_nav_menu_item_custom_fieldsincludes\admin\custom-fields.php:18
actionwp_update_nav_menu_itemincludes\admin\custom-fields.php:54
filterwp_nav_menu_objectsincludes\functions.php:35
Maintenance & Trust

Hide Menu Items by Role Maintenance & Trust

Maintenance Signals

WordPress version tested7.0.0
Last updatedMay 26, 2026
PHP min version7.0
Downloads2K

Community Trust

Rating100/100
Number of ratings1
Active installs80
Developer Profile

Hide Menu Items by Role Developer Profile

Mahfuzur Rahman

1 plugin · 80 total installs

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

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

CSS Classes
edit-menu-item-custom
Data Attributes
name="menu-item-user-roles
FAQ

Frequently Asked Questions about Hide Menu Items by Role