{"summary":{"plugin_name":"persian-woocommerce-shipping","display_name":"افزونه حمل و نقل ووکامرس | پست پیشتاز، تیپاکس و پیک موتوری","version":"4.4.8","risk_level":"medium","risk_score":37.0,"risk_factors":{"static_analysis":10,"owasp":5,"attack_surface":10,"unauth_ratio":5,"superglobal_density":5,"rest_routes":2},"last_analyzed":"2026-11-23T14:32:12.440652","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":20000,"rating":90,"num_ratings":101,"tested":"7.1.5","requires":"6.8","requires_php":"7.4","author":"Mahdi Yousefi [MahdiY]","short_description":"ارسال مرسوله های ووکامرس از طریق پست پیشتاز، تسپاکس و پیک موتوری با محاسبه خودکار تعرفه","tags":["ووکامرس فارسی","ووکامس","پست","تیپاکس","حمل و نقل"],"added":"2016-11-10","last_updated":"2026-10-13 9:29am GMT","metadata_fetched_at":"2026-11-22T04:44:36.308194+00:00","modules_missing":[],"modules_failed":[],"latest_release":"4.4.9"},"security_metrics":{"total_issues":25,"parameters_found":26,"unknown_parameters":1,"headers_accessed":0,"cookies_accessed":0,"wp_hooks":2,"rest_routes":1,"query_vars":0,"shortcode_atts":1,"rest_routes_with_access_patterns":0,"file_upload_parameters":0,"owasp_findings":{"A01":3,"A03":2},"attack_surface_level":"medium","attack_surface_score":30,"tainted_sinks":6,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":2},"comparison":{"percentile":64.5,"rank":168827,"peer_count":475253,"better_than":64.5,"risk_distribution":{"medium":116227,"high":176271,"low":89573,"minimal":55073,"critical":38109}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A01","name":"Broken Access Control","severity":"high","findings_count":3,"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 '/distance/' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","Reachable 'option_update' sink x1 - 1 attacker-reachable 'option_update' sink(s) found by the reachability analyzer","Pattern 'nopriv_no_nonce' x2 - Nopriv AJAX handler without nonce verification (2 occurrence(s))"]},{"category":"A03","name":"Injection","severity":"medium","findings_count":2,"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":["Reachable 'file_include' sink x1 - 1 attacker-reachable 'file_include' sink(s) found by the reachability analyzer","Reachable 'code_exec' sink x2 - 2 attacker-reachable 'code_exec' sink(s) found by the reachability analyzer"]}],"owasp_findings":{"A01":[{"type":"rest_route","name":"/distance/","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"reachability_sink","sink":"option_update","count":1,"risk":"1 attacker-reachable 'option_update' sink(s) found by the reachability analyzer"},{"type":"pattern_match","pattern":"nopriv_no_nonce","count":2,"severity":"high","examples":["includes/class-pws.php:69","includes/class-pws.php:71"],"risk":"Nopriv AJAX handler without nonce verification (2 occurrence(s))"}],"A03":[{"type":"reachability_sink","sink":"file_include","count":1,"risk":"1 attacker-reachable 'file_include' sink(s) found by the reachability analyzer"},{"type":"reachability_sink","sink":"code_exec","count":2,"risk":"2 attacker-reachable 'code_exec' sink(s) found by the reachability analyzer"}]}}