{"id":"CVE-2025-5391","aliases":["EUVD-2025-24200","GHSA-hvqr-rxgq-v4xp"],"status":"published","title":"WooCommerce Purchase Orders \u003c= 1.0.2 - Authenticated (Subscriber+) Arbitrary File Deletion","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).","severity":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00928,"percentile":0.60848,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-22"],"published":"2025-08-12T02:24:45Z","modified":"2026-06-17T09:47:49Z","products":[{"vendor":"bbioon","product":"purchase orders for woocommerce"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/05a27a34-b324-4968-937e-2c0d24175d2a?source=cve"},{"url":"https://plugins.trac.wordpress.org/browser/wc-purchase-orders/trunk/includes/class-bbpo-purchase-orders.php#L151"},{"url":"https://plugins.trac.wordpress.org/browser/wc-purchase-orders/trunk/includes/class-bbpo-purchase-orders-files.php#L148"},{"url":"https://plugins.trac.wordpress.org/changeset/3356360/"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-5391"},{"url":"https://plugins.trac.wordpress.org/changeset/3356360"},{"url":"https://github.com/advisories/GHSA-hvqr-rxgq-v4xp"}],"sources":{"cve":[{"id":"CVE-2025-5391","title":"WooCommerce Purchase Orders \u003c= 1.0.2 - Authenticated (Subscriber+) Arbitrary File Deletion","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).","status":"published","published":"2025-08-12T02:24:45.298Z","modified":"2026-04-08T16:33:26.518Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:32:30.302289Z"}],"euvd":[{"id":"EUVD-2025-24200","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).","status":"published","published":"2025-08-12T02:24:45Z","modified":"2026-04-08T16:33:26Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T19:25:11.239745Z"}],"ghsa":[{"id":"GHSA-hvqr-rxgq-v4xp","title":"The WooCommerce Purchase Orders plugin for WordPress is vulnerable to arbitrary file deletion due...","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).","status":"published","published":"2025-08-12T03:31:52Z","modified":"2026-04-08T18:35:30Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:07:17.92733Z"}],"nvd":[{"id":"CVE-2025-5391","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).","status":"published","published":"2025-08-12T03:15:28.937Z","modified":"2026-06-17T09:47:49.97Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:11:22.953396Z"}]}}
