Improved the use of filters in get_order_report_data() by applying $wpdb->prepare() for safer handling of parameters like coupon_codes which could lead to potential sql injection.

This vulnerability affects the following application versions:


WooCommerce 3.5.2

WooCommerce 3.5.3

...