{"summary":{"plugin_name":"wp-api-menus","display_name":"WP API Menus","version":"1.3.2","risk_level":"high","risk_score":57.0,"risk_factors":{"staleness":40,"owasp":5,"unauth_ratio":10,"rest_routes":2},"last_analyzed":"2026-11-23T12:11:49.574733","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":2000,"rating":100,"num_ratings":8,"tested":"5.5.0","requires":"3.6.0","requires_php":"False","author":"Fulvio Notarstefano","short_description":"Extends WordPress WP REST API with new routes pointing to WordPress menus.","tags":["JSON","json rest api","menus","wp-api","wp-rest-api"],"added":"2015-01-18","last_updated":"2020-08-18 7:21am GMT","metadata_fetched_at":null,"modules_missing":null,"modules_failed":null,"latest_release":null},"security_metrics":{"total_issues":0,"parameters_found":0,"unknown_parameters":0,"headers_accessed":0,"cookies_accessed":0,"wp_hooks":0,"rest_routes":4,"query_vars":0,"shortcode_atts":0,"rest_routes_with_access_patterns":0,"file_upload_parameters":0,"owasp_findings":{"A01":5,"A06":1},"attack_surface_level":"minimal","attack_surface_score":8,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":4},"comparison":{"percentile":53.9,"rank":32354,"peer_count":70232,"better_than":53.9,"risk_distribution":{"medium":20785,"high":34130,"critical":3749,"low":8113,"minimal":3453,"Unknown":2}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A01","name":"Broken Access Control","severity":"high","findings_count":5,"description":"Access control enforces policy such that users cannot act outside of their intended permissions","recommendations":["Add a real permission_callback to every REST route — never '__return_true' for state-changing endpoints","Verify nonces on all wp_ajax_nopriv_ handlers and re-check capabilities server-side","Validate and canonicalize file paths to block traversal on read/write/delete operations","Never trust a user-supplied role/capability — enforce it against the acting user's own permissions"],"findings_summary":["REST route '/menus' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '/menus/(?P<id>\\d+)' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '/menu-locations' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '/menu-locations/(?P<location>[a-zA-Z0-9_-]+)' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","Pattern 'rest_no_permission' x4 - REST endpoint with no permission check (4 occurrence(s))"]},{"category":"A06","name":"Vulnerable and Outdated Components","severity":"low","findings_count":1,"description":"Using components with known vulnerabilities, or shipping releases that are stale on the upstream directory","recommendations":["Update the plugin to its latest stable release","Replace components that are no longer maintained upstream","Subscribe to vulnerability feeds for plugins you depend on (WPScan, Wordfence)","Audit bundled JS/PHP libraries for known CVEs"],"findings_summary":["Stale component: last updated 2020-08-18 7:21am GMT (2102 days ago)"]}],"owasp_findings":{"A01":[{"type":"rest_route","name":"/menus","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/menus/(?P<id>\\d+)","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/menu-locations","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/menu-locations/(?P<location>[a-zA-Z0-9_-]+)","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"pattern_match","pattern":"rest_no_permission","count":4,"severity":"high","examples":["includes/wp-api-menus-v2.php:59","includes/wp-api-menus-v2.php:67","includes/wp-api-menus-v2.php:80"],"risk":"REST endpoint with no permission check (4 occurrence(s))"}],"A06":[{"type":"stale_component","last_updated":"2020-08-18 7:21am GMT","age_days":2102,"risk":"Plugin has not been updated upstream in 5+ years (2102 days) — increased risk of unpatched vulnerabilities"}]}}