{"summary":{"plugin_name":"affiliates","display_name":"Affiliates","version":"7.1.0","risk_level":"medium","risk_score":35.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":15,"superglobal_density":10},"last_analyzed":"2026-11-23T11:56:50.107032","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":2000,"rating":90,"num_ratings":137,"tested":"7.1.3","requires":"6.5","requires_php":"7.4","author":"itthinx","short_description":"The Affiliates system provides the most powerful growth-oriented tools to run a successful Affiliate Marketing Program.","tags":["affiliate","affiliate marketing","affiliates","growth marketing","referral"],"added":"2011-06-07","last_updated":"2026-10-09 5:41pm GMT","metadata_fetched_at":"2026-10-11T23:20:11.677061+00:00","modules_missing":null,"modules_failed":null,"latest_release":"7.1.0"},"security_metrics":{"total_issues":9,"parameters_found":102,"unknown_parameters":2,"headers_accessed":5,"cookies_accessed":0,"wp_hooks":2,"rest_routes":0,"query_vars":0,"shortcode_atts":14,"rest_routes_with_access_patterns":0,"file_upload_parameters":0,"owasp_findings":{"A07":2},"attack_surface_level":"large","attack_surface_score":104,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":0},"comparison":{"percentile":65.5,"rank":166532,"peer_count":483088,"better_than":65.5,"risk_distribution":{"high":176730,"critical":38225,"medium":117851,"low":93319,"minimal":56963}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A07","name":"Identification and Authentication Failures","severity":"medium","findings_count":2,"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 'affiliate_user_login' - Authentication-related parameter — verify login flow hardening","Auth hook 'user_register' - Hooks the 'user_register' authentication/identity flow — verify it cannot be abused to bypass authentication"]}],"owasp_findings":{"A07":[{"type":"parameter","name":"affiliate_user_login","locations":{"POST":[{"file":"/plugins/affiliates/tags/7.1.0/lib/core/affiliates-admin-affiliates.php","line":232,"offset":8736,"snippet":"$_POST['affiliate_user_login']"},{"file":"/plugins/affiliates/tags/7.1.0/lib/core/affiliates-admin-affiliates.php","line":233,"offset":8806,"snippet":"$_POST['affiliate_user_login']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"auth_hook","name":"user_register","risk":"Hooks the 'user_register' authentication/identity flow — verify it cannot be abused to bypass authentication"}]}}