Menu By User Roles Security & Risk Analysis

wordpress.org/plugins/menu-by-user-roles

Menu By User Roles allows you to control the visibility of menu items based on user roles.

1K active installs v2.0.4 PHP 7.0+ WP 5.0+ Updated Oct 2, 2025
access-controlrole-based-menussite-navigationtags-menu-visibilityuser-roles
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Menu By User Roles Safe to Use in 2026?

Generally Safe

Score 100/100

Menu By User Roles has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 6mo ago
Risk Assessment

The "menu-by-user-roles" v2.0.4 plugin demonstrates a strong security posture based on the provided static analysis and vulnerability history. The plugin has no known CVEs, indicating a history of responsible development and timely patching. The code analysis reveals no dangerous functions, no raw SQL queries, and all output is properly escaped, which are excellent indicators of secure coding practices.

Specifically, the absence of any identified AJAX handlers, REST API routes, shortcodes, or cron events with unprotected entry points significantly reduces the plugin's attack surface. The presence of a nonce check is a positive sign for preventing CSRF attacks. The plugin also avoids file operations and external HTTP requests, further minimizing potential vulnerabilities.

While the plugin exhibits a very good security profile, the lack of capability checks for the single identified nonce check is a minor area for improvement. However, given the overall lack of exposed entry points and the absence of critical vulnerabilities in its history, the plugin appears to be robust and secure for its current version. The bundled Select2 library is a common and generally well-maintained component, and without specific version information or known vulnerabilities associated with it in this context, it does not represent a significant immediate risk.

Key Concerns

  • Missing capability checks for nonce
Vulnerabilities
None known

Menu By User Roles Security Vulnerabilities

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

Menu By User Roles Code Analysis

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

Bundled Libraries

Select2

Output Escaping

100% escaped7 total outputs
Attack Surface

Menu By User Roles Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 6
actionadmin_enqueue_scriptsmenu-by-user-roles.php:37
actionwp_nav_menu_item_custom_fieldsmenu-by-user-roles.php:73
actionwp_update_nav_menu_itemmenu-by-user-roles.php:93
filterwp_nav_menu_objectsmenu-by-user-roles.php:123
actionenqueue_block_editor_assetsmenu-by-user-roles.php:165
filterrender_blockmenu-by-user-roles.php:207
Maintenance & Trust

Menu By User Roles Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedOct 2, 2025
PHP min version7.0
Downloads8K

Community Trust

Rating100/100
Number of ratings3
Active installs1K
Developer Profile

Menu By User Roles Developer Profile

kahnu044

1 plugin · 1K total installs

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

How We Detect Menu By User Roles

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/menu-by-user-roles/assets/css/select2.min.css/wp-content/plugins/menu-by-user-roles/assets/js/select2.min.js/wp-content/plugins/menu-by-user-roles/assets/js/main.js/wp-content/plugins/menu-by-user-roles/assets/js/core-navigation-link-block.js
Script Paths
assets/css/select2.min.cssassets/js/select2.min.jsassets/js/main.jsassets/js/core-navigation-link-block.js
Version Parameters
plugins/menu-by-user-roles/assets/css/select2.min.css?ver=plugins/menu-by-user-roles/assets/js/select2.min.js?ver=plugins/menu-by-user-roles/assets/js/main.js?ver=plugins/menu-by-user-roles/assets/js/core-navigation-link-block.js?ver=

HTML / DOM Fingerprints

CSS Classes
menu_by-user-roles-dropdown
Data Attributes
data-userRoleVisibility
JS Globals
mburData
FAQ

Frequently Asked Questions about Menu By User Roles