{"summary":{"plugin_name":"woo-product-country-base-restrictions","display_name":"Country Based Restrictions for WooCommerce","version":"3.8.3","risk_level":"low","risk_score":20.0,"risk_factors":{"owasp":5,"attack_surface":5,"superglobal_density":10},"last_analyzed":"2026-11-23T14:47:00.250482","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":5000,"rating":90,"num_ratings":52,"tested":"7.1.5","requires":"5.3","requires_php":"7.0","author":"Zorem","short_description":"Restrict WooCommerce products by country using geolocation. Hide them, block the purchase or show your own message — per product or variation.","tags":["Block countries","country restrictions","geo restriction","geolocation","Product restriction"],"added":"2018-10-04","last_updated":"2026-11-21 1:28pm GMT","metadata_fetched_at":"2026-11-23T09:53:08.505788+00:00","modules_missing":[],"modules_failed":[],"latest_release":"3.8.3"},"security_metrics":{"total_issues":0,"parameters_found":18,"unknown_parameters":1,"headers_accessed":0,"cookies_accessed":1,"wp_hooks":2,"rest_routes":0,"query_vars":0,"shortcode_atts":0,"rest_routes_with_access_patterns":0,"file_upload_parameters":0,"owasp_findings":{"A01":1},"attack_surface_level":"medium","attack_surface_score":20,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":2},"comparison":{"percentile":76.3,"rank":119646,"peer_count":504929,"better_than":76.3,"risk_distribution":{"low":103337,"high":178450,"medium":122042,"critical":39003,"minimal":62097}},"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' x2 - Nopriv AJAX handler without nonce verification (2 occurrence(s))"]}],"owasp_findings":{"A01":[{"type":"pattern_match","pattern":"nopriv_no_nonce","count":2,"severity":"high","examples":["include/admin-toolbar.php:60","include/admin-toolbar.php:63"],"risk":"Nopriv AJAX handler without nonce verification (2 occurrence(s))"}]}}