Vanquish Upload Files For Woocommerce
An issue exists where authenticated users with subscriber-level access and above can read arbitrary files on the server. This is possible through a directory traversal flaw involving the `vanupfi file name` parameter. The flaw occurs because providing a non-existent order ID causes the `wc get order()` function to return false, bypassing the `vanupfi user can access order files()` authorization check. Additionally, a loose substring match in the `is pdf()` branch selector allows a traversal payload to be processed and streamed via the `readfile()` function.