vulnerability

WordPress Plugin: wc-purchase-orders: CVE-2025-5391: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Severity
8
CVSS
(AV:N/AC:L/Au:S/C:N/I:C/A:C)
Published
Aug 11, 2025
Added
Sep 8, 2025
Modified
Sep 8, 2025

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

Solution

wc-purchase-orders-plugin-cve-2025-5391
Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.