Hide Drafts in Menus Security & Risk Analysis

wordpress.org/plugins/hide-drafts-in-menus

Hide unpublished pages in your custom menus.

1K active installs v1.5.1 PHP + WP 4.0+ Updated May 14, 2024
draftsmenuspagesunpublished
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Hide Drafts in Menus Safe to Use in 2026?

Generally Safe

Score 85/100

Hide Drafts in Menus has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 2yr ago
Risk Assessment

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

Hide Drafts in Menus Security Vulnerabilities

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

Hide Drafts in Menus Release Timeline

v1.5.1Current
v1.5.0
v1.4.1
v1.4.0
v1.3.1
v1.3.0
v1.2.1
v1.2.0.1
v1.2.0
v1.1.0
v1.0.0.2
v1.0.0.1
v1.0.0
Code Analysis
Analyzed Mar 16, 2026

Hide Drafts in Menus Code Analysis

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

SQL Query Safety

100% prepared1 total queries

Output Escaping

50% escaped2 total outputs
Attack Surface

Hide Drafts in Menus Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 3
filterwp_get_nav_menu_itemshide-drafts-in-menus.php:90
filterwp_nav_menu_objectshide-drafts-in-menus.php:91
actionadmin_enqueue_scriptshide-drafts-in-menus.php:128
Maintenance & Trust

Hide Drafts in Menus Maintenance & Trust

Maintenance Signals

WordPress version tested6.5.8
Last updatedMay 14, 2024
PHP min version
Downloads16K

Community Trust

Rating100/100
Number of ratings9
Active installs1K
Developer Profile

Hide Drafts in Menus Developer Profile

Room 34 Creative Services, LLC

10 plugins · 14K total installs

73
trust score
Avg Security Score
92/100
Avg Patch Time
138 days
View full developer profile
Detection Fingerprints

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

CSS Classes
menu-item-handle
HTML Comments
CSS for unpublished menu items added by Hide Drafts in Menus plugin.
FAQ

Frequently Asked Questions about Hide Drafts in Menus