WP Main Menu Security & Risk Analysis

wordpress.org/plugins/wp-main-menu

With WP Main Menu you can create a great menu with links to categories, pages, posts, tags and more for WordPress. WP Main Menu won't be updated …

10 active installs v0.2 PHP + WP 2.8+ Updated Apr 10, 2010
linksmenu
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is WP Main Menu Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 15yr ago
Risk Assessment

The "wp-main-menu" plugin v0.2 exhibits a concerning security posture, despite a lack of reported historical vulnerabilities and a seemingly small attack surface with no directly exposed entry points. The static analysis reveals critical weaknesses, most notably the presence of the "unserialize" function, which is inherently risky if used with untrusted data. Furthermore, the analysis indicates that 100% of the output is not properly escaped. This, combined with high severity taint flows, suggests a significant risk of cross-site scripting (XSS) or other injection vulnerabilities if malicious data can be introduced into the plugin's processing pipeline.

The absence of capability checks and nonce checks on any potential (though currently unrevealed) entry points is a major red flag. While the static analysis reports zero AJAX handlers, REST API routes, shortcodes, or cron events, this could be misleading if the plugin's functionality is invoked through less common or indirect methods. The taint analysis showing flows with unsanitized paths, two of which are of high severity, directly points to potential vulnerabilities that could be exploited. The lack of known CVEs is positive but does not negate the clear risks identified within the current codebase.

Key Concerns

  • Dangerous function: unserialize present
  • No output escaping
  • High severity taint flows (2)
  • No nonce checks
  • No capability checks
Vulnerabilities
None known

WP Main Menu Security Vulnerabilities

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

WP Main Menu Code Analysis

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

Dangerous Functions Found

unserialize$wp_main_menu_link_prev = unserialize($wp_main_menu_link_prev);wp-main-menu.php:89
unserialize$wp_main_menu_link_prev = unserialize($wp_main_menu_link_prev);wp-main-menu.php:535
unserialize$wp_edited_link[$_GET['edit_id']]['sublinks'] = unserialize($_POST['sublinks']);wp-main-menu.php:609
unserialize$wp_main_menu_links = unserialize($wp_main_menu_links);wp-main-menu.php:797

Output Escaping

0% escaped119 total outputs
Data Flows
3 unsanitized

Data Flow Analysis

3 flows3 with unsanitized paths
wp_main_menu_wpimportpage (wp-main-menu.php:1137)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

WP Main Menu Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 4
actionwp_headwp-main-menu.php:48
actioninitwp-main-menu.php:64
actionadmin_menuwp-main-menu.php:172
actionadmin_headwp-main-menu.php:173
Maintenance & Trust

WP Main Menu Maintenance & Trust

Maintenance Signals

WordPress version tested2.9.2
Last updatedApr 10, 2010
PHP min version
Downloads6K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

WP Main Menu Developer Profile

sumolari

3 plugins · 100 total installs

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

How We Detect WP Main Menu

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/wp-main-menu/themes/default/style.css/wp-content/plugins/wp-main-menu/themes/default/jquery.js/wp-content/plugins/wp-main-menu/themes/default/script.js
Script Paths
/wp-content/plugins/wp-main-menu/jquery.tablesorter.js
Version Parameters
wp-main-menu/style.css?ver=wp-main-menu/script.js?ver=

HTML / DOM Fingerprints

CSS Classes
column-idcolumn-order
HTML Comments
<!-- WP Main Menu - Table CSS --><!-- End of WP Main Menu - Table CSS --><!-- WP Main Menu - Post JS -->
Data Attributes
wp_main_menu_themewp_main_menu_path
JS Globals
wp_main_menu_hideDivs
FAQ

Frequently Asked Questions about WP Main Menu