Home

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

PUBLISHED Reserved 2025-05-30 | Published 2025-08-12 | Updated 2025-08-13 | Assigner Wordfence




HIGH: 8.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Problem types

CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Product status

Default status
unaffected

*
affected

Timeline

2025-08-11:Disclosed

Credits

Alexander Chikaylo finder

References

www.wordfence.com/...-b324-4968-937e-2c0d24175d2a?source=cve

plugins.trac.wordpress.org/...class-bbpo-purchase-orders.php

plugins.trac.wordpress.org/...bbpo-purchase-orders-files.php

cve.org (CVE-2025-5391)

nvd.nist.gov (CVE-2025-5391)

Download JSON