CVE-2025-5391
HIGH
8.1
CVSS 3.1
Description
The WooCommerce Purchase Orders plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the delete_file() function in all versions up to, and including, 1.0.2. This makes it possible for authenticated attackers, with Subscriber-level access and above, to delete arbitrary files on the server, which can easily lead to remote code execution when the right file is deleted (such as wp-config.php).
Affected WordPress components
-
Purchase Orders for WooCommerce Plugin · wc-purchase-ordersUp to and including 1.0.2View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- bbioon Purchase Orders for WooCommerce — Up to and including 1.0.2
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/wc-purchase-orders/trunk/includes/class-bbpo-purchase-orders-files.php#L148
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/wc-purchase-orders/trunk/includes/class-bbpo-purchase-orders.php#L151
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/3356360/
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/05a27a34-b324-4968-937e-2c0d24175d2a?source=cve
- nvd.nist.gov Official NVD record