{"summary":{"plugin_name":"surecontact","display_name":"SureContact – Newsletters, Email Marketing, Automation, Revenue Tracking & CRM","version":"1.6.0","risk_level":"medium","risk_score":35.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":5,"unauth_ratio":5,"filter_hooks":5,"rest_routes":10},"last_analyzed":"2026-11-23T11:54:58.012254","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":10000,"rating":96,"num_ratings":21,"tested":"7.1.5","requires":"5.8","requires_php":"7.4","author":"Brainstorm Force","short_description":"Send newsletters, set up email automations, manage contacts and track ecommerce revenue in a CRM for WordPress.","tags":["crm","ecommerce","email automation","Email Marketing","newsletter"],"added":"2026-01-06","last_updated":"2026-11-19 10:54am GMT","metadata_fetched_at":"2026-11-22T18:26:15.001816+00:00","modules_missing":[],"modules_failed":[],"latest_release":"1.6.0"},"security_metrics":{"total_issues":9,"parameters_found":18,"unknown_parameters":2,"headers_accessed":1,"cookies_accessed":0,"wp_hooks":2,"rest_routes":51,"query_vars":0,"shortcode_atts":0,"rest_routes_with_access_patterns":0,"file_upload_parameters":0,"owasp_findings":{"A01":2,"A03":1,"A07":3},"attack_surface_level":"large","attack_surface_score":122,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":8},"comparison":{"percentile":64.0,"rank":180365,"peer_count":501067,"better_than":64.0,"risk_distribution":{"low":101454,"high":178105,"medium":121435,"critical":38849,"minimal":61224}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A07","name":"Identification and Authentication Failures","severity":"high","findings_count":3,"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 'oauth_token' - Authentication-related parameter — verify login flow hardening","Auth hook 'wp_login' - Hooks the 'wp_login' authentication/identity flow — verify it cannot be abused to bypass authentication","Auth hook 'user_register' - Hooks the 'user_register' authentication/identity flow — verify it cannot be abused to bypass authentication"]},{"category":"A01","name":"Broken Access Control","severity":"medium","findings_count":2,"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 '/verify' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","Pattern 'nopriv_no_nonce' x1 - Nopriv AJAX handler without nonce verification (1 occurrence(s))"]},{"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":["Pattern 'sqli_interpolated' x7 - Interpolated variable in SQL query string (7 occurrence(s))"]}],"owasp_findings":{"A01":[{"type":"rest_route","name":"/verify","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"pattern_match","pattern":"nopriv_no_nonce","count":1,"severity":"high","examples":["lib/action-scheduler/lib/WP_Async_Request.php:66"],"risk":"Nopriv AJAX handler without nonce verification (1 occurrence(s))"}],"A03":[{"type":"pattern_match","pattern":"sqli_interpolated","count":7,"severity":"critical","examples":["uninstall.php:66","uninstall.php:69","includes/class-queue-manager.php:700"],"risk":"Interpolated variable in SQL query string (7 occurrence(s))"}],"A07":[{"type":"parameter","name":"oauth_token","locations":{"GET":[{"file":"/plugins/surecontact/tags/1.6.0/includes/class-auth-manager.php","line":193,"offset":3784,"snippet":"$_GET['oauth_token']"},{"file":"/plugins/surecontact/tags/1.6.0/includes/class-auth-manager.php","line":194,"offset":3862,"snippet":"$_GET['oauth_token']"},{"file":"/plugins/surecontact/tags/1.6.0/includes/class-auth-manager.php","line":508,"offset":14322,"snippet":"$_GET['oauth_token']"},{"file":"/plugins/surecontact/tags/1.6.0/includes/class-auth-manager.php","line":508,"offset":14380,"snippet":"$_GET['oauth_token']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"auth_hook","name":"wp_login","risk":"Hooks the 'wp_login' authentication/identity flow — verify it cannot be abused to bypass authentication"},{"type":"auth_hook","name":"user_register","risk":"Hooks the 'user_register' authentication/identity flow — verify it cannot be abused to bypass authentication"}]}}