{"summary":{"plugin_name":"flexible-refund-and-return-order-for-woocommerce","display_name":"Flexible Refund for WooCommerce – EU One Click Return","version":"2.1.5","risk_level":"medium","risk_score":45.0,"risk_factors":{"static_analysis":30,"owasp":5,"attack_surface":10},"last_analyzed":"2026-11-23T14:47:55.138044","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":2000,"rating":80,"num_ratings":4,"tested":"7.2","requires":"6.4","requires_php":"7.4","author":"wpdesk","short_description":"WooCommerce refund and returns process made simple. Let your customers request a refund and return products directly from the My Account page.","tags":["eu return directive","one click return","woocommerce cancel order","woocommerce refund","woocommerce returns"],"added":"2022-08-04","last_updated":"2026-11-21 5:00am GMT","metadata_fetched_at":"2026-11-23T04:53:28.889208+00:00","modules_missing":[],"modules_failed":[],"latest_release":"2.1.5"},"security_metrics":{"total_issues":401,"parameters_found":29,"unknown_parameters":3,"headers_accessed":8,"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":4},"attack_surface_level":"medium","attack_surface_score":31,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":0},"comparison":{"percentile":50.3,"rank":250277,"peer_count":503761,"better_than":50.3,"risk_distribution":{"low":102750,"high":178367,"medium":121837,"critical":38979,"minimal":61828}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A03","name":"Injection","severity":"high","findings_count":4,"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"]}],"owasp_findings":{"A03":[{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_GET on echo","file":"/plugins/flexible-refund-and-return-order-for-woocommerce/tags/2.1.5/vendor_prefixed/wpdesk/flexible-refunds-core/src/Integration/PublicRequestController.php","line":223},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_GET on echo","file":"/plugins/flexible-refund-and-return-order-for-woocommerce/tags/2.1.5/vendor_prefixed/wpdesk/flexible-refunds-core/src/Integration/PublicRequestController.php","line":226},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_GET on echo","file":"/plugins/flexible-refund-and-return-order-for-woocommerce/tags/2.1.5/vendor_prefixed/wpdesk/flexible-refunds-core/src/Integration/PublicRequestController.php","line":228},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_GET on echo","file":"/plugins/flexible-refund-and-return-order-for-woocommerce/tags/2.1.5/vendor_prefixed/wpdesk/flexible-refunds-core/src/Integration/PublicRequestController.php","line":231}]}}