
Custom Menu Class Security & Risk Analysis
wordpress.org/plugins/custom-menu-classSet predefined CSS classes to menu items
Is Custom Menu Class Safe to Use in 2026?
Generally Safe
Score 85/100Custom Menu Class has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.
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
Custom Menu Class Security Vulnerabilities
Custom Menu Class Code Analysis
Dangerous Functions Found
Output Escaping
Custom Menu Class Attack Surface
WordPress Hooks 9
Maintenance & Trust
Custom Menu Class Maintenance & Trust
Maintenance Signals
Community Trust
Custom Menu Class Alternatives
CSS Ready Classes for Gravity Forms
css-ready-classes-gravity-forms
Conveniently select Gravity Form CSS Ready Classes from your form fields Appearance tab.
MAJpage Menu Class Extender
majpage-menu-class-extender
Adds classes to first, last, parent, even and odd elements of wp_page_menu and wp_nav_menu.
Menu Item Custom Attributes
menu-item-custom-attributes
Easily add custom ID, Class, and Data attributes to WordPress menu items directly from the admin panel — no coding required.
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.
Custom Menu Class Developer Profile
1 plugin · 200 total installs
How We Detect Custom Menu Class
Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.
Asset Fingerprints
/wp-content/plugins/custom-menu-class/custom-menu-class.js/wp-content/plugins/custom-menu-class/custom-menu-class.jscustom-menu-class/custom-menu-class.js?ver=HTML / DOM Fingerprints
custom-menu-class-conditionCustom Walker for nav items - with "if menu" plugin supportInclude default classes for menu itemsRegister plugin custom post typeCustom post type columns+1 morename="menu-item-custom-menu-class