{"id":"CVE-2025-5391","published":"2025-08-12T02:24:45Z","modified":"2026-04-08T16:33:26Z","title":"WooCommerce Purchase Orders <= 1.0.2 - Authenticated (Subscriber+) Arbitrary File Deletion","vendor":"bbioon","product":"Purchase Orders for WooCommerce","tier":"tail","description":{"text":"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).","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00997,"percentile":0.63541,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/05a27a34-b324-4968-937e-2c0d24175d2a?source=cve","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/wc-purchase-orders/trunk/includes/class-bbpo-purchase-orders.php#L151","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/wc-purchase-orders/trunk/includes/class-bbpo-purchase-orders-files.php#L148","tags":[]},{"url":"https://plugins.trac.wordpress.org/changeset/3356360/","tags":[]}],"priority":{"score":18.4,"factors":[{"name":"EPSS percentile","points":12.71},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"bbioon","affectedVersions":[{"vendor":"bbioon","product":"Purchase Orders for WooCommerce","versions":["<= 1.0.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-08-12T13:30:37.064634Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-24200","exploited":false,"provenance":"source"}}