
Hide Drafts in Menus Security & Risk Analysis
wordpress.org/plugins/hide-drafts-in-menusHide unpublished pages in your custom menus.
Is Hide Drafts in Menus Safe to Use in 2026?
Generally Safe
Score 85/100Hide Drafts in Menus has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.
The 'hide-drafts-in-menus' plugin version 1.5.1 exhibits a generally strong security posture based on the provided static analysis and vulnerability history. The absence of known CVEs and a clean vulnerability history are positive indicators. The code analysis reveals a minimal attack surface with no registered AJAX handlers, REST API routes, shortcodes, or cron events, and critically, none of these potential entry points are unprotected. Furthermore, the plugin avoids dangerous functions, file operations, external HTTP requests, and displays good practices by exclusively using prepared statements for its single SQL query. The lack of taint flows also suggests that user-supplied data is not being processed in a way that could lead to immediate exploitation.
However, there are areas for improvement. The plugin lacks nonce checks and capability checks entirely, which, while not a direct vulnerability given the absence of entry points, represent a missed opportunity for robust security layering. Additionally, only 50% of output escaping is properly handled, indicating a potential for cross-site scripting (XSS) vulnerabilities if any of the unescaped outputs are ever influenced by user input or external data, even if no such flows are currently apparent. The absence of these checks and the partial output escaping are the primary concerns, despite the plugin's otherwise clean record and minimal attack surface.
Key Concerns
- Missing nonce checks
- Missing capability checks
- Half of outputs not properly escaped
Hide Drafts in Menus Security Vulnerabilities
Hide Drafts in Menus Release Timeline
Hide Drafts in Menus Code Analysis
SQL Query Safety
Output Escaping
Hide Drafts in Menus Attack Surface
WordPress Hooks 3
Maintenance & Trust
Hide Drafts in Menus Maintenance & Trust
Maintenance Signals
Community Trust
Hide Drafts in Menus Alternatives
Menu Per Pages
menu-per-pages
Here is a short description of the plugin.
Different Menu in Different Pages and Posts
different-menu-in-different-pages-and-posts
Different Menu in Different Pages and Posts plugin allows user to display 'menu of choice' to display on the header of posts and pages
WP Featured Menus
wp-featured-menus
Provides a metabox on posts and pages listing existing WordPress Menus.
Astro Hide Unpublished Post Types From Menu
astro-hide-unpublished-post-types-from-menu
Hides from menus all post_types that have a status other than published.
Draft Concluder
draft-concluder
Email users that have outstanding drafts.
Hide Drafts in Menus Developer Profile
10 plugins · 14K total installs
How We Detect Hide Drafts in Menus
Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.
Asset Fingerprints
HTML / DOM Fingerprints
menu-item-handleCSS for unpublished menu items added by Hide Drafts in Menus plugin.