{"summary":{"plugin_name":"query-monitor","display_name":"Query Monitor","version":"4.1.1","risk_level":"low","risk_score":10.0,"risk_factors":{"static_analysis":5,"owasp":5,"superglobal_density":5,"installs_modifier":-5},"last_analyzed":"2026-11-23T14:24:11.068717","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":200000,"rating":98,"num_ratings":470,"tested":"7.1.5","requires":"6.3","requires_php":"7.4","author":"John Blackbourn","short_description":"Query Monitor is the developer tools panel for WordPress and WooCommerce.","tags":["debug","debug bar","development","performance","query monitor"],"added":"2013-11-19","last_updated":"2026-10-27 1:21am GMT","metadata_fetched_at":"2026-11-23T05:32:50.942507+00:00","modules_missing":[],"modules_failed":[],"latest_release":"4.1.1"},"security_metrics":{"total_issues":4,"parameters_found":8,"unknown_parameters":0,"headers_accessed":6,"cookies_accessed":0,"wp_hooks":2,"rest_routes":0,"query_vars":0,"shortcode_atts":0,"rest_routes_with_access_patterns":0,"file_upload_parameters":0,"owasp_findings":{"A03":2,"A04":1,"A07":1},"attack_surface_level":"minimal","attack_surface_score":10,"tainted_sinks":3,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":1},"comparison":{"percentile":87.7,"rank":61882,"peer_count":504002,"better_than":87.7,"risk_distribution":{"low":102872,"high":178391,"medium":121870,"critical":38988,"minimal":61881}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A03","name":"Injection","severity":"medium","findings_count":2,"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 x3 - 3 attacker-reachable 'file_include' sink(s) found by the reachability analyzer","Pattern 'sqli_interpolated' x1 - Interpolated variable in SQL query string (1 occurrence(s))"]},{"category":"A07","name":"Identification and Authentication Failures","severity":"medium","findings_count":1,"description":"Functions related to a user's identity, authentication, or session management","recommendations":["Enforce strong passwords and rate-limit login attempts","Add MFA/2FA for privileged accounts","Use wp_verify_nonce() and capability checks together — neither alone is sufficient","Audit any authenticate / determine_current_user filter for bypass paths"],"findings_summary":["Parameter 'interim-login' - Authentication-related parameter — verify login flow hardening"]},{"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: 1 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"]}],"owasp_findings":{"A03":[{"type":"reachability_sink","sink":"file_include","count":3,"risk":"3 attacker-reachable 'file_include' sink(s) found by the reachability analyzer"},{"type":"pattern_match","pattern":"sqli_interpolated","count":1,"severity":"critical","examples":["classes/Util.php:460"],"risk":"Interpolated variable in SQL query string (1 occurrence(s))"}],"A04":[{"type":"direct_file_access","count":1,"risk":"1 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"}],"A07":[{"type":"parameter","name":"interim-login","locations":{"GET":[{"file":"/plugins/query-monitor/tags/4.1.1/classes/Collectors.php","line":103,"offset":2294,"snippet":"$_GET['interim-login']"}]},"risk":"Authentication-related parameter — verify login flow hardening"}]}}