CVE-2025-5391
Last modified
CVE-2025-5391 is a high-severity vulnerability rated 8.1/10 on the CVSS scale. 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).. EPSS estimates a 0.78% chance of exploitation in the next 30 days.
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).
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-5391?
How severe is CVE-2025-5391?
How do I fix CVE-2025-5391?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-53903The Scratch Channel is a news website that is under developm…1.3
- CVE-2025-53904The Scratch Channel is a news website that is under developm…1.3
- CVE-2025-53905Vim is an open source, command line text editor. Prior to ve…4.1
- CVE-2025-53906Vim is an open source, command line text editor. Prior to ve…4.1
- CVE-2025-53908RomM is a self-hosted rom manager and player. Versions prior…8.3
- CVE-2025-53909mailcow: dockerized is an open source groupware/email suite …7.2
- CVE-2025-53910Mattermost Confluence Plugin version <1.5.0 fails to check t…4
- CVE-2025-53912An arbitrary file read vulnerability exists in the encapsula…8.1
- CVE-2025-53913Excessive Privileges vulnerability in Calix GigaCenter ONT (…7
- CVE-2025-53914Excessive Privileges vulnerability in Calix GigaCenter ONT (…7
- CVE-2025-53919An issue was discovered in the Portrait Dell Color Managemen…7.8
- CVE-2025-5392The GB Forms DB plugin for WordPress is vulnerable to Remote…9.8
Are you affected by CVE-2025-5391?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
