{"id":"CVE-2025-5391","aliases":["CVE-2025-5391"],"related":[],"kind":"vulnerability","state":"published","title":"WooCommerce Purchase Orders <= 1.0.2 - Authenticated (Subscriber+) Arbitrary File Deletion","summary":"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).","summarySource":"cvelist","descriptions":[{"lang":"en","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).","source":"cvelist"},{"lang":"es","text":"El complemento WooCommerce Purchase Orders para WordPress es vulnerable a la eliminación arbitraria de archivos debido a una validación insuficiente de la ruta de archivo en la función delete_file() en todas las versiones hasta la 1.0.2 incluida. Esto permite que atacantes autenticados, con acceso de suscriptor o superior, eliminen archivos arbitrarios en el servidor, lo que puede provocar fácilmente la ejecución remota de código al eliminar el archivo correcto (como wp-config.php).","source":"nvd"}],"published":"2025-08-12T02:24:45.298Z","modified":"2026-06-17T09:47:49.970Z","severity":{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","score":8.1,"rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"1.0.2","status":"affected"}],"vendor":"bbioon","product":"Purchase Orders for WooCommerce","source":"cvelist"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/05a27a34-b324-4968-937e-2c0d24175d2a?source=cve","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/wc-purchase-orders/trunk/includes/class-bbpo-purchase-orders.php#L151","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/wc-purchase-orders/trunk/includes/class-bbpo-purchase-orders-files.php#L148","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/changeset/3356360/","tags":[],"sources":["cvelist","nvd"]}],"credits":["Alexander Chikaylo"],"assigner":"Wordfence","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-08-12T13:30:37.064Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-5391","url":"https://www.cve.org/CVERecord?id=CVE-2025-5391","licence":"CVE Terms of Use","modified":"2026-04-08T16:33:26.518Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-5391","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-5391","licence":"Public domain","modified":"2026-06-17T09:47:49.970Z"}],"updatedAt":"2026-11-25T22:59:02.294Z","epss":{"score":0.00997,"percentile":0.63681,"date":"2026-12-01T12:00:22.000Z"}}