The Extra Product Options & Add-Ons for WooCommerce plugin for WordPress is vulnerable to Arbitrary File Upload in all versions up to, and including, 7.6.2 via the `upload_file()` function called through the `wc_bookings_calculate_costs` AJAX action. This is due to the plugin's extension and MIME allow-list check existing exclusively inside the `woocommerce_add_to_cart_validation()` callback, which is never triggered when EPO's `adjust_booking_cost()` method calls `tm_add_cart_item_data()` directly — a path that reaches `wp_handle_upload()` with `test_type=false` and `ALLOW_UNFILTERED_UPLOADS` defined as `true`, fully bypassing WordPress core's filetype checks. This makes it possible for unauthenticated attackers to upload files of any extension, including `.php`, to the `wp-content/uploads/extra_product_options/` directory, potentially enabling remote code execution on the server. Exploitation requires WooCommerce Bookings or Easy Booking to be active and at least one bookable product to be configured with an EPO file-upload element.
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub