# CVE-2025-5391: WooCommerce Purchase Orders <= 1.0.2 - Authenticated (Subscriber+) Arbitrary File Deletion

- Severity: High 8.1 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.00%, higher than 63% of CVEs (2026-12-01)
- Published: 2025-08-12T02:24:45.298Z
- Modified: 2026-06-17T09:47:49.970Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Wordfence

## 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).

(As written by CVE List.)

## Affected

- bbioon Purchase Orders for WooCommerce: up to 1.0.2

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/05a27a34-b324-4968-937e-2c0d24175d2a?source=cve>
- <https://plugins.trac.wordpress.org/browser/wc-purchase-orders/trunk/includes/class-bbpo-purchase-orders.php#L151>
- <https://plugins.trac.wordpress.org/browser/wc-purchase-orders/trunk/includes/class-bbpo-purchase-orders-files.php#L148>
- <https://plugins.trac.wordpress.org/changeset/3356360/>

## Sources

- CVE List: [CVE-2025-5391](https://www.cve.org/CVERecord?id=CVE-2025-5391), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2025-5391](https://nvd.nist.gov/vuln/detail/CVE-2025-5391), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-5391 · Whole record: https://cve.day/CVE-2025-5391.json · Rebuilt by cve.day 2026-11-25T22:59:02.294Z
