{"summary":{"plugin_name":"wp-rest-api-v2-menus","display_name":"WP-REST-API V2 Menus","version":"0.12.1","risk_level":"high","risk_score":57.0,"risk_factors":{"staleness":40,"owasp":5,"unauth_ratio":10,"rest_routes":2},"last_analyzed":"2026-11-23T13:41:44.318681","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":3000,"rating":100,"num_ratings":6,"tested":"6.0.11","requires":"4.4","requires_php":"False","author":"thebatclaudio","short_description":"Adding menus endpoints on WP REST API v2","tags":["api","JSON","json rest api","menu-routes","menus"],"added":"2016-03-01","last_updated":"2022-11-09 1:29pm 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":54.3,"rank":39946,"peer_count":87346,"better_than":54.3,"risk_distribution":{"medium":25755,"high":42603,"low":10027,"critical":4798,"minimal":4161,"Unknown":2}},"executive_summary":"The wp‑rest‑api‑v2‑menus plugin has not been updated in nearly three years, placing it at least HIGH risk because it no longer receives security patches and may contain unpatched vulnerabilities. Although the automated assessment reports a medium risk score, the age of the last update and the presence of multiple OWASP A01 issues elevate the threat level, potentially exposing the site to data breaches, site compromise, or compliance violations. This outdated plugin’s lack of active maintenance and the fact that it is no longer supported by WordPress.org make it a significant risk to the business.","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>[a-zA-Z0-9_-]+)' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '/locations/(?P<id>[a-zA-Z0-9_-]+)' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '/locations' - 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 2022-11-09 1:29pm GMT (1289 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>[a-zA-Z0-9_-]+)","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/locations/(?P<id>[a-zA-Z0-9_-]+)","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/locations","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":["wp-rest-api-v2-menus.php:257","wp-rest-api-v2-menus.php:263","wp-rest-api-v2-menus.php:269"],"risk":"REST endpoint with no permission check (4 occurrence(s))"}],"A06":[{"type":"stale_component","last_updated":"2022-11-09 1:29pm GMT","age_days":1289,"risk":"Plugin has not been updated upstream in 3+ years (1289 days) — increased risk of unpatched vulnerabilities"}]}}