{"summary":{"plugin_name":"bluex-for-woocommerce","display_name":"Plugin BlueX for WooCommerce","version":"3.1.6","risk_level":"medium","risk_score":35.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":10,"unauth_ratio":5,"superglobal_density":5,"rest_routes":5},"last_analyzed":"2026-11-23T13:57:27.072870","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":2000,"rating":34,"num_ratings":3,"tested":"7.1.3","requires":"4.5","requires_php":"7.4","author":"soporteblue","short_description":"Once the plugin is installed, you need to go to the integration section in the woocommerce settings and add the data delivered by blue express. Also,","tags":["blue express","blue express rates","live rates","shipping rates","woocommerce shipping"],"added":"2022-12-19","last_updated":"2026-10-21 5:09pm GMT","metadata_fetched_at":"2026-03-22T13:38:13.166336+00:00","modules_missing":null,"modules_failed":null,"latest_release":"3.4.1"},"security_metrics":{"total_issues":7,"parameters_found":22,"unknown_parameters":1,"headers_accessed":5,"cookies_accessed":0,"wp_hooks":13,"rest_routes":14,"query_vars":0,"shortcode_atts":0,"rest_routes_with_access_patterns":1,"file_upload_parameters":0,"owasp_findings":{"A01":4,"A03":1},"attack_surface_level":"large","attack_surface_score":63,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":11},"comparison":{"percentile":89.4,"rank":43375,"peer_count":410602,"better_than":89.4,"risk_distribution":{"high":176828,"medium":111171,"minimal":43374,"low":63129,"critical":16100}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A01","name":"Broken Access Control","severity":"high","findings_count":4,"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 '/validate-integration' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '/update-credentials' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","Pattern 'nopriv_no_nonce' x1 - Nopriv AJAX handler without nonce verification (1 occurrence(s))","Pattern 'rest_no_permission' x2 - REST endpoint with no permission check (2 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' x8 - Interpolated variable in SQL query string (8 occurrence(s))"]}],"owasp_findings":{"A01":[{"type":"rest_route","name":"/validate-integration","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/update-credentials","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"pattern_match","pattern":"nopriv_no_nonce","count":1,"severity":"high","examples":["includes/class-wc-correios-pudos-map.php:45"],"risk":"Nopriv AJAX handler without nonce verification (1 occurrence(s))"},{"type":"pattern_match","pattern":"rest_no_permission","count":2,"severity":"high","examples":["includes/api/class-wc-correios-api.php:60","includes/api/class-wc-correios-api.php:67"],"risk":"REST endpoint with no permission check (2 occurrence(s))"}],"A03":[{"type":"pattern_match","pattern":"sqli_interpolated","count":8,"severity":"critical","examples":["uninstall.php:14","includes/api/endpoints/class-wc-correios-get-logs.php:31","includes/api/endpoints/class-wc-correios-delete-logs.php:31"],"risk":"Interpolated variable in SQL query string (8 occurrence(s))"}]}}