{"summary":{"plugin_name":"mail-mint","display_name":"Mail Mint – Email Marketing, Automation & WooCommerce Emails with AI Assistance","version":"1.31.8","risk_level":"high","risk_score":50.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":10,"unauth_ratio":5,"filter_hooks":15,"rest_routes":5,"raw_input":5},"last_analyzed":"2026-11-23T12:09:45.915224","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":4000,"rating":94,"num_ratings":125,"tested":"7.1.5","requires":"5.8","requires_php":"7.4","author":"WPFunnels","short_description":"AI-powered email marketing automation plugin for WordPress & WooCommerce - capture leads, create campaigns, and automate workflows with AI assistance.","tags":["AI","email","email automation","Email Marketing","woocommerce emails"],"added":"2023-02-09","last_updated":"2026-11-19 4:45am GMT","metadata_fetched_at":"2026-11-22T05:17:08.199269+00:00","modules_missing":[],"modules_failed":[],"latest_release":"1.32.0"},"security_metrics":{"total_issues":47,"parameters_found":32,"unknown_parameters":2,"headers_accessed":8,"cookies_accessed":3,"wp_hooks":2,"rest_routes":244,"query_vars":0,"shortcode_atts":7,"rest_routes_with_access_patterns":46,"file_upload_parameters":0,"owasp_findings":{"A01":8,"A03":1,"A07":3},"attack_surface_level":"large","attack_surface_score":522,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":1},"comparison":{"percentile":43.3,"rank":284479,"peer_count":501497,"better_than":43.3,"risk_distribution":{"low":101676,"high":178141,"medium":121491,"critical":38878,"minimal":61311}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A01","name":"Broken Access Control","severity":"critical","findings_count":8,"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 'None' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route 'None' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route 'None' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '/mcp/oauth/protected-resource' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '/mcp/oauth/authorization-server' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers"]},{"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":["Auth hook 'determine_current_user' - Hooks the 'authenticate' 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","Auth hook 'wp_login' - Hooks the 'wp_login' authentication/identity flow — verify it cannot be abused to bypass authentication"]},{"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' x1 - Interpolated variable in SQL query string (1 occurrence(s))"]}],"owasp_findings":{"A01":[{"type":"rest_route","name":null,"risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":null,"risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":null,"risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/mcp/oauth/protected-resource","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/mcp/oauth/authorization-server","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/mcp/oauth/register","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/mcp/oauth/token","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/mcp/oauth/revoke","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"}],"A03":[{"type":"pattern_match","pattern":"sqli_interpolated","count":1,"severity":"critical","examples":["app/Database/models/ContactGroupModel.php:218"],"risk":"Interpolated variable in SQL query string (1 occurrence(s))"}],"A07":[{"type":"auth_hook","name":"determine_current_user","risk":"Hooks the 'authenticate' 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"},{"type":"auth_hook","name":"wp_login","risk":"Hooks the 'wp_login' authentication/identity flow — verify it cannot be abused to bypass authentication"}]}}