Custom Menu Class Security & Risk Analysis

wordpress.org/plugins/custom-menu-class

Set predefined CSS classes to menu items

200 active installs v0.2.6.1 PHP + WP 3.7+ Updated Apr 25, 2016
classescss-classcss-classesmenumenu-class
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Custom Menu Class Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 9yr ago
Risk Assessment

The "custom-menu-class" plugin v0.2.6.1 demonstrates a generally good security posture regarding its attack surface, with no identified AJAX handlers, REST API routes, shortcodes, or cron events accessible without authentication. The absence of external HTTP requests and file operations further limits potential vulnerabilities. However, significant concerns arise from the code signals. The presence of the `create_function` is a critical security risk, as it allows for the execution of arbitrary code. Furthermore, 100% of output is not properly escaped, indicating a high likelihood of Cross-Site Scripting (XSS) vulnerabilities, especially given the absence of any nonce or capability checks. The lack of vulnerability history suggests that either the plugin has not been targeted or previous versions were not found to be vulnerable, but this does not negate the immediate risks identified in the current code analysis. While the plugin has a minimal attack surface and uses prepared statements for its (zero) SQL queries, the identified code signals are severe enough to warrant caution. The presence of a dangerous function and pervasive unescaped output are critical weaknesses that outweigh the otherwise clean attack surface and vulnerability history.

Key Concerns

  • Use of dangerous function: create_function
  • 0% output escaping
  • No nonce checks
  • No capability checks
Vulnerabilities
None known

Custom Menu Class Security Vulnerabilities

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

Custom Menu Class Code Analysis

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

Dangerous Functions Found

create_functionadd_filter('wp_edit_nav_menu_walker', create_function('', 'return "Custom_Menu_Class_Walker_Nav_Menucustom-menu-class.php:37

Output Escaping

0% escaped5 total outputs
Attack Surface

Custom Menu Class Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 9
filtercustom_menu_css_classesclasses.php:31
actionadmin_initcustom-menu-class.php:35
actionwp_update_nav_menu_itemcustom-menu-class.php:36
filterwp_edit_nav_menu_walkercustom-menu-class.php:37
filterwp_get_nav_menu_itemscustom-menu-class.php:41
actioninitcustom-menu-class.php:220
filtermanage_cmc_classes_posts_columnscustom-menu-class.php:235
filterenter_title_herecustom-menu-class.php:250
actioninitcustom-menu-class.php:266
Maintenance & Trust

Custom Menu Class Maintenance & Trust

Maintenance Signals

WordPress version tested4.5.33
Last updatedApr 25, 2016
PHP min version
Downloads15K

Community Trust

Rating58/100
Number of ratings7
Active installs200
Developer Profile

Custom Menu Class Developer Profile

Aiken1

1 plugin · 200 total installs

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

How We Detect Custom Menu Class

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/custom-menu-class/custom-menu-class.js
Script Paths
/wp-content/plugins/custom-menu-class/custom-menu-class.js
Version Parameters
custom-menu-class/custom-menu-class.js?ver=

HTML / DOM Fingerprints

CSS Classes
custom-menu-class-condition
HTML Comments
Custom Walker for nav items - with "if menu" plugin supportInclude default classes for menu itemsRegister plugin custom post typeCustom post type columns+1 more
Data Attributes
name="menu-item-custom-menu-class
FAQ

Frequently Asked Questions about Custom Menu Class