{"summary":{"plugin_name":"disable-payment-method-for-woocommerce","display_name":"PiWeb Disable payment method / Partial payment for WooCommerce","version":"1.1.10.13","risk_level":"medium","risk_score":30.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":10,"superglobal_density":5,"raw_input":5},"last_analyzed":"2026-12-06T02:51:43.849751","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":4000,"rating":100,"num_ratings":38,"tested":"7.1.5","requires":"4.0.1","requires_php":"False","author":"PI Web Solution","short_description":"Disable payment method for WooCommerce, Charge WooCommerce Payment processing fees, Take Partial payment for Order, Advance COD or Partial payment for …","tags":["cash on delivery","cod","payment processing fees","Smart COD","WooCommerce partial payment"],"added":"2022-03-12","last_updated":"2026-11-19 10:53am GMT","metadata_fetched_at":"2026-11-23T06:01:36.651939+00:00","modules_missing":[],"modules_failed":[],"latest_release":"1.1.10.14"},"security_metrics":{"total_issues":16,"parameters_found":50,"unknown_parameters":1,"headers_accessed":3,"cookies_accessed":0,"wp_hooks":2,"rest_routes":0,"query_vars":1,"shortcode_atts":0,"rest_routes_with_access_patterns":0,"file_upload_parameters":0,"owasp_findings":{"A03":5},"attack_surface_level":"large","attack_surface_score":52,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":0},"comparison":{"percentile":67.3,"rank":164950,"peer_count":504269,"better_than":67.3,"risk_distribution":{"low":103004,"high":178400,"medium":121926,"critical":38994,"minimal":61945}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A03","name":"Injection","severity":"high","findings_count":5,"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":["phpcs_security: Easy XSS detected because of direct user input with $_GET on echo","phpcs_security: Easy XSS detected because of direct user input with $_GET on echo","phpcs_security: Easy XSS detected because of direct user input with $_GET on echo","phpcs_security: Easy XSS detected because of direct user input with $_GET on echo","phpcs_security: Easy XSS detected because of direct user input with $_GET on echo"]}],"owasp_findings":{"A03":[{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_GET on echo","file":"/plugins/disable-payment-method-for-woocommerce/tags/1.1.10.13/admin/class-payment-method-disable-rules.php","line":51},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_GET on echo","file":"/plugins/disable-payment-method-for-woocommerce/tags/1.1.10.13/admin/partials/add-disable-rule.php","line":8},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_GET on echo","file":"/plugins/disable-payment-method-for-woocommerce/tags/1.1.10.13/admin/partials/add-disable-rule.php","line":8},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_GET on echo","file":"/plugins/disable-payment-method-for-woocommerce/tags/1.1.10.13/admin/partials/blacklist.php","line":73},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_GET on echo","file":"/plugins/disable-payment-method-for-woocommerce/tags/1.1.10.13/admin/partials/blacklist.php","line":75}]}}