{"summary":{"plugin_name":"woorewards","display_name":"MyRewards","version":"5.7.10","risk_level":"medium","risk_score":35.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":15,"superglobal_density":5,"filter_hooks":5},"last_analyzed":"2026-11-23T12:36:21.414770","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":2000,"rating":94,"num_ratings":58,"tested":"7.1.5","requires":"5.3","requires_php":"7.3.0","author":"Long Watch Studio - Code Faeries","short_description":"Free top-rated points and rewards program to retain your customers, grow your sales and get new customers.","tags":["coupons","Loyalty","points","referrals","Rewards"],"added":"2017-10-24","last_updated":"2026-11-09 10:49am GMT","metadata_fetched_at":"2026-11-23T01:03:51.412534+00:00","modules_missing":[],"modules_failed":[],"latest_release":"5.7.10"},"security_metrics":{"total_issues":21,"parameters_found":60,"unknown_parameters":3,"headers_accessed":3,"cookies_accessed":0,"wp_hooks":2,"rest_routes":0,"query_vars":10,"shortcode_atts":1,"rest_routes_with_access_patterns":0,"file_upload_parameters":0,"owasp_findings":{"A01":1,"A03":1,"A07":1},"attack_surface_level":"large","attack_surface_score":62,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":15},"comparison":{"percentile":63.8,"rank":181946,"peer_count":503044,"better_than":63.8,"risk_distribution":{"low":102421,"high":178314,"medium":121685,"critical":38958,"minimal":61666}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A01","name":"Broken Access Control","severity":"medium","findings_count":1,"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":["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' x14 - Interpolated variable in SQL query string (14 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":["Auth hook 'user_register' - Hooks the 'user_register' authentication/identity flow — verify it cannot be abused to bypass authentication"]}],"owasp_findings":{"A01":[{"type":"pattern_match","pattern":"nopriv_no_nonce","count":1,"severity":"high","examples":["include/core/ajax.php:15"],"risk":"Nopriv AJAX handler without nonce verification (1 occurrence(s))"}],"A03":[{"type":"pattern_match","pattern":"sqli_interpolated","count":14,"severity":"critical","examples":["include/updater.php:152","include/updater.php:226","include/pointsflow/action.php:115"],"risk":"Interpolated variable in SQL query string (14 occurrence(s))"}],"A07":[{"type":"auth_hook","name":"user_register","risk":"Hooks the 'user_register' authentication/identity flow — verify it cannot be abused to bypass authentication"}]}}