{"summary":{"plugin_name":"woocommerce-services","display_name":"WooCommerce Tax (formerly WooCommerce Shipping & Tax)","version":"3.7.7","risk_level":"high","risk_score":58.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":15,"unauth_ratio":5,"superglobal_density":5,"filter_hooks":15,"rest_routes":10,"raw_input":5,"installs_modifier":-7},"last_analyzed":"2026-11-23T12:28:09.110910","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":500000,"rating":42,"num_ratings":108,"tested":"7.1.5","requires":"7.0","requires_php":"7.4","author":"WooCommerce","short_description":"We’re here to help with tax rates: collect accurate sales tax, automatically.","tags":["GST","payment","tax","vat","woocommerce"],"added":"2017-01-28","last_updated":"2026-11-17 1:45pm GMT","metadata_fetched_at":"2026-11-23T06:59:39.755164+00:00","modules_missing":[],"modules_failed":[],"latest_release":"3.7.7"},"security_metrics":{"total_issues":53,"parameters_found":74,"unknown_parameters":2,"headers_accessed":8,"cookies_accessed":10,"wp_hooks":2,"rest_routes":37,"query_vars":0,"shortcode_atts":0,"rest_routes_with_access_patterns":1,"file_upload_parameters":0,"owasp_findings":{"A01":5,"A03":2,"A04":1,"A05":2,"A07":5},"attack_surface_level":"large","attack_surface_score":150,"tainted_sinks":62,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":1,"auth_bypass_sinks":0,"dangerous_patterns":2},"comparison":{"percentile":16.0,"rank":424039,"peer_count":504516,"better_than":16.0,"risk_distribution":{"low":103127,"high":178418,"medium":121965,"critical":39001,"minimal":62005}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A01","name":"Broken Access Control","severity":"high","findings_count":5,"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 '/verify_xmlrpc_error' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '/verify_registration' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '/remote_authorize' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '/connection' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","Reachable 'file_delete' sink x1 - 1 attacker-reachable 'file_delete' sink(s) found by the reachability analyzer"]},{"category":"A07","name":"Identification and Authentication Failures","severity":"high","findings_count":5,"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 'authenticate' - Hooks the 'authenticate' authentication/identity flow — verify it cannot be abused to bypass authentication","Auth hook 'determine_current_user' - Hooks the 'authenticate' authentication/identity flow — verify it cannot be abused to bypass authentication","Auth hook 'wp_authenticate_user' - Hooks the 'authenticate' authentication/identity flow — verify it cannot be abused to bypass authentication","Auth hook 'user_register' - Hooks the 'user_register' authentication/identity flow — verify it cannot be abused to bypass authentication","Auth hook 'wp_login' - Hooks the 'wp_login' authentication/identity flow — verify it cannot be abused to bypass authentication"]},{"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 x61 - 61 attacker-reachable 'file_include' sink(s) found by the reachability analyzer","Pattern 'sqli_interpolated' x2 - Interpolated variable in SQL query string (2 occurrence(s))"]},{"category":"A04","name":"Insecure Design","severity":"low","findings_count":1,"description":"Missing or ineffective control design — e.g. plugin files that perform work when requested directly, bypassing the WordPress bootstrap","recommendations":["Add a `defined('ABSPATH') || exit;` guard to every PHP file so it cannot be requested directly","Move logic out of directly-reachable files into hook callbacks loaded by WordPress","Threat-model unauthenticated entry points during design, not after release"],"findings_summary":["Direct file access: 20 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"]},{"category":"A05","name":"Security Misconfiguration","severity":"low","findings_count":2,"description":"Missing appropriate security hardening or improperly configured permissions","recommendations":["Remove phpinfo() and error_reporting()/display_errors overrides from shipped code","Never define WP_DEBUG inside a plugin — leave debug configuration to the site owner","Fail closed: do not expose stack traces or environment details to visitors"],"findings_summary":["Misconfiguration in vendor/automattic/jetpack-status/src/class-errors.php:35 - $display_errors  = @ini_set( 'display_errors', 1 );","Misconfiguration in vendor/automattic/jetpack-status/src/class-errors.php:36 - $error_reporting = @error_reporting( E_ALL );"]}],"owasp_findings":{"A01":[{"type":"rest_route","name":"/verify_xmlrpc_error","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/verify_registration","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/remote_authorize","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/connection","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"reachability_sink","sink":"file_delete","count":1,"risk":"1 attacker-reachable 'file_delete' sink(s) found by the reachability analyzer"}],"A03":[{"type":"reachability_sink","sink":"file_include","count":61,"risk":"61 attacker-reachable 'file_include' sink(s) found by the reachability analyzer"},{"type":"pattern_match","pattern":"sqli_interpolated","count":2,"severity":"critical","examples":["classes/class-wc-connect-options.php:332","classes/class-wc-connect-service-settings-store.php:360"],"risk":"Interpolated variable in SQL query string (2 occurrence(s))"}],"A04":[{"type":"direct_file_access","count":20,"risk":"20 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"}],"A05":[{"type":"misconfiguration","file":"vendor/automattic/jetpack-status/src/class-errors.php","line":"35","match":"$display_errors  = @ini_set( 'display_errors', 1 );","risk":"Security-misconfiguration token in shipped plugin code (error display / debug / info disclosure)"},{"type":"misconfiguration","file":"vendor/automattic/jetpack-status/src/class-errors.php","line":"36","match":"$error_reporting = @error_reporting( E_ALL );","risk":"Security-misconfiguration token in shipped plugin code (error display / debug / info disclosure)"}],"A07":[{"type":"auth_hook","name":"authenticate","risk":"Hooks the 'authenticate' authentication/identity flow — verify it cannot be abused to bypass authentication"},{"type":"auth_hook","name":"determine_current_user","risk":"Hooks the 'authenticate' authentication/identity flow — verify it cannot be abused to bypass authentication"},{"type":"auth_hook","name":"wp_authenticate_user","risk":"Hooks the 'authenticate' authentication/identity flow — verify it cannot be abused to bypass authentication"},{"type":"auth_hook","name":"user_register","risk":"Hooks the 'user_register' authentication/identity flow — verify it cannot be abused to bypass authentication"},{"type":"auth_hook","name":"wp_login","risk":"Hooks the 'wp_login' authentication/identity flow — verify it cannot be abused to bypass authentication"}]}}