{"summary":{"plugin_name":"disable-json-api","display_name":"Disable REST API","version":"v1.8","risk_level":"high","risk_score":55.0,"risk_factors":{"staleness":40,"owasp":5,"superglobal_density":10},"last_analyzed":"2026-11-23T11:19:32.747328","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":80000,"rating":96,"num_ratings":38,"tested":"6.3.15","requires":"4.9","requires_php":"5.6","author":"Dave McHale","short_description":"Disable the use of the REST API on your website to site users. Now with User Role support!","tags":["admin","api","JSON","rest","rest-api"],"added":"2014-10-03","last_updated":"2023-09-14 12:26am GMT","metadata_fetched_at":"2026-11-22T04:45:06.532404+00:00","modules_missing":[],"modules_failed":[],"latest_release":null},"security_metrics":{"total_issues":0,"parameters_found":5,"unknown_parameters":0,"headers_accessed":0,"cookies_accessed":0,"wp_hooks":0,"rest_routes":0,"query_vars":0,"shortcode_atts":0,"rest_routes_with_access_patterns":0,"file_upload_parameters":0,"owasp_findings":{"A03":1,"A04":1,"A06":1},"attack_surface_level":"minimal","attack_surface_score":5,"tainted_sinks":1,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":0},"comparison":{"percentile":79.4,"rank":12469,"peer_count":60528,"better_than":79.4,"risk_distribution":{"high":29301,"medium":18012,"critical":3169,"low":7053,"minimal":2992,"Unknown":1}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A03","name":"Injection","severity":"medium","findings_count":1,"description":"User-supplied data is not validated, filtered, or sanitized by the application","recommendations":["Use $wpdb->prepare() for all database queries — never interpolate or concatenate input","Sanitize all user input with appropriate WordPress functions","Escape output based on context (esc_html, esc_attr, etc.)","Never pass user input to eval(), include/require, or a variable function"],"findings_summary":["Reachable 'file_include' sink x1 - 1 attacker-reachable 'file_include' sink(s) found by the reachability analyzer"]},{"category":"A04","name":"Insecure Design","severity":"low","findings_count":1,"description":"Missing or ineffective control design — e.g. plugin files that perform work when requested directly, bypassing the WordPress bootstrap","recommendations":["Add a `defined('ABSPATH') || exit;` guard to every PHP file so it cannot be requested directly","Move logic out of directly-reachable files into hook callbacks loaded by WordPress","Threat-model unauthenticated entry points during design, not after release"],"findings_summary":["Direct file access: 3 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"]},{"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 2023-09-14 12:26am GMT (980 days ago)"]}],"owasp_findings":{"A03":[{"type":"reachability_sink","sink":"file_include","count":1,"risk":"1 attacker-reachable 'file_include' sink(s) found by the reachability analyzer"}],"A04":[{"type":"direct_file_access","count":3,"risk":"3 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"}],"A06":[{"type":"stale_component","last_updated":"2023-09-14 12:26am GMT","age_days":980,"risk":"Plugin has not been updated upstream in 2+ years (980 days) — increased risk of unpatched vulnerabilities"}]}}