Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-5391: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in bbioon WooCommerce Purchase Orders

0
High
VulnerabilityCVE-2025-5391cvecve-2025-5391cwe-22
Published: Tue Aug 12 2025 (08/12/2025, 02:24:45 UTC)
Source: CVE Database V5
Vendor/Project: bbioon
Product: WooCommerce Purchase Orders

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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/27/2026, 15:16:05 UTC

Technical Analysis

CVE-2025-5391 is a path traversal vulnerability classified under CWE-22 found in the bbioon WooCommerce Purchase Orders plugin for WordPress. The flaw exists in the delete_file() function, which fails to properly validate and restrict file paths before deletion. This improper limitation allows authenticated attackers with as low as Subscriber-level privileges to craft malicious requests that delete arbitrary files on the hosting server. Since WordPress plugins typically run with the same permissions as the web server user, deleting critical files such as wp-config.php can disrupt site availability or enable remote code execution by forcing site misconfiguration or triggering fallback behaviors. The vulnerability is remotely exploitable over the network without requiring user interaction beyond authentication. The CVSS 3.1 base score is 8.1, reflecting high impact on integrity and availability, low attack complexity, and the need for low privileges. No patches or official fixes are currently linked, and no active exploits have been reported, but the risk remains high due to the potential for severe damage and ease of exploitation.

Potential Impact

The vulnerability allows attackers to delete arbitrary files on the server, which can lead to denial of service by removing essential site files or configuration data. More critically, deleting files like wp-config.php can enable attackers to execute remote code, potentially leading to full site compromise, data theft, or further lateral movement within the hosting environment. This threatens the confidentiality, integrity, and availability of affected WordPress sites. Organizations relying on WooCommerce Purchase Orders for e-commerce operations risk financial loss, reputational damage, and regulatory consequences if exploited. The requirement for only Subscriber-level access lowers the barrier for exploitation, increasing the threat surface. The vulnerability affects all versions up to 1.0.2, implying a broad scope of potentially vulnerable installations worldwide.

Mitigation Recommendations

Immediate mitigation should include restricting or disabling the WooCommerce Purchase Orders plugin until a patch is available. Administrators should audit user roles and permissions to ensure that only trusted users have Subscriber-level or higher access. Implement web application firewall (WAF) rules to detect and block suspicious requests targeting the delete_file() function or path traversal patterns. Employ file integrity monitoring to detect unauthorized file deletions or modifications. Regular backups of critical files such as wp-config.php should be maintained to enable rapid recovery. Developers should implement strict server-side validation and sanitization of file paths, enforcing whitelist-based restrictions to prevent traversal outside allowed directories. Monitoring logs for unusual deletion activity and applying principle of least privilege to WordPress roles can further reduce risk. Once a patch is released, apply it promptly and verify the fix.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2025-05-30T15:36:49.329Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 689aa7d2ad5a09ad002be7a5

Added to database: 8/12/2025, 2:32:50 AM

Last enriched: 2/27/2026, 3:16:05 PM

Last updated: 3/24/2026, 5:55:55 AM

Views: 95

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses