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

Tue, 12 Aug 2025 12:15:00 +0000

Type Values Removed Values Added
First Time appeared Woocommerce
Woocommerce woocommerce
Woocommerce woocommerce Purchase Orders Plugin
Wordpress
Wordpress wordpress
Vendors & Products Woocommerce
Woocommerce woocommerce
Woocommerce woocommerce Purchase Orders Plugin
Wordpress
Wordpress wordpress

Tue, 12 Aug 2025 02:30:00 +0000

Type Values Removed Values Added
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).
Title WooCommerce Purchase Orders <= 1.0.2 - Authenticated (Subscriber+) Arbitrary File Deletion
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published: 2025-08-12T02:24:45.298Z

Updated: 2025-08-12T02:24:45.298Z

Reserved: 2025-05-30T15:36:49.329Z

Link: CVE-2025-5391

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2025-08-12T03:15:28.937

Modified: 2025-08-12T14:25:33.177

Link: CVE-2025-5391

cve-icon Redhat

No data.