Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-7359

CVE-2025-7359: WooCommerce Counter Path Traversal Flaw

CVE-2025-7359 is a path traversal vulnerability in the Counter live visitors for WooCommerce WordPress plugin that enables unauthenticated attackers to delete entire directories. This article covers technical details, impact, and patches.

Published: April 29, 2026

CVE-2025-7359 Overview

The Counter live visitors for WooCommerce plugin for WordPress contains an arbitrary file deletion vulnerability due to insufficient file path validation in the wcvisitor_get_block function. This path traversal flaw affects all versions up to and including 1.3.6, allowing unauthenticated attackers to delete arbitrary files on the server. Notably, this vulnerability deletes all files in a targeted directory rather than a single specified file, significantly amplifying the potential for data loss or denial of service conditions.

Critical Impact

Unauthenticated attackers can remotely delete entire directories on WordPress servers, leading to complete site compromise, data loss, or denial of service without requiring any user interaction or authentication.

Affected Products

  • Counter live visitors for WooCommerce plugin for WordPress versions ≤ 1.3.6
  • WordPress installations running the vulnerable plugin
  • WooCommerce stores utilizing the visitor counter functionality

Discovery Timeline

  • 2025-07-16 - CVE-2025-7359 published to NVD
  • 2026-04-15 - Last updated in NVD database

Technical Details for CVE-2025-7359

Vulnerability Analysis

This vulnerability is classified as CWE-22 (Path Traversal), a critical security weakness that occurs when software fails to properly neutralize special elements within a pathname. The wcvisitor_get_block function in the plugin's woo-counter-visitor.php file lacks adequate validation of user-supplied file paths, enabling attackers to traverse outside intended directories.

The attack can be executed remotely over the network without requiring authentication, making it particularly dangerous for publicly accessible WordPress installations. The vulnerability's behavior of deleting entire directory contents rather than individual files creates a multiplicative impact, where a single malicious request can wipe out critical system files, WordPress core files, or database backups.

Root Cause

The root cause stems from insufficient file path validation in the wcvisitor_get_block function located at line 378 of woo-counter-visitor.php. The function accepts user-controlled input for file path operations without properly sanitizing path traversal sequences such as ../ or implementing allowlist-based validation to restrict operations to safe directories.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker can craft malicious HTTP requests containing path traversal sequences to target arbitrary directories on the server. By manipulating the file path parameter, attackers can navigate outside the plugin's intended scope and delete critical WordPress files, configuration files, or system directories.

The attack flow involves:

  1. Identifying a WordPress site running the vulnerable plugin version
  2. Crafting a request to the wcvisitor_get_block function with path traversal sequences
  3. Targeting critical directories such as wp-config.php location or upload directories
  4. Executing the request to trigger recursive deletion of the target directory

For technical implementation details, refer to the WordPress WooCommerce Plugin Code and the Wordfence Vulnerability Report.

Detection Methods for CVE-2025-7359

Indicators of Compromise

  • Unexpected file or directory deletions in WordPress installation directories
  • Missing critical files such as wp-config.php, theme files, or plugin files
  • Web server error logs showing 404 errors for previously existing files
  • Unusual HTTP requests containing path traversal patterns (../) targeting plugin endpoints

Detection Strategies

  • Monitor web server access logs for requests to the Counter live visitors for WooCommerce plugin endpoints containing directory traversal sequences
  • Implement Web Application Firewall (WAF) rules to detect and block path traversal patterns in HTTP parameters
  • Configure file integrity monitoring solutions to alert on unexpected file deletions in WordPress directories
  • Review PHP error logs for file operation failures or permission-related warnings

Monitoring Recommendations

  • Deploy real-time file system monitoring on WordPress installation directories with alerts for bulk file deletions
  • Enable detailed access logging for all requests to /wp-content/plugins/counter-visitor-for-woocommerce/ endpoints
  • Configure intrusion detection systems to flag requests with encoded or plain-text path traversal sequences
  • Implement automated backups with version retention to enable rapid recovery from file deletion attacks

How to Mitigate CVE-2025-7359

Immediate Actions Required

  • Update the Counter live visitors for WooCommerce plugin to the latest patched version immediately
  • Review web server access logs for evidence of exploitation attempts
  • Verify integrity of critical WordPress files and restore from backup if necessary
  • Temporarily disable the plugin if an update is not available or cannot be applied immediately

Patch Information

The vulnerability has been addressed in a subsequent release of the plugin. The security fix can be reviewed in the WordPress Plugin Changeset Update. Administrators should update to the latest available version through the WordPress admin dashboard or by downloading directly from the WordPress plugin repository.

Workarounds

  • Disable or remove the Counter live visitors for WooCommerce plugin until the patch can be applied
  • Implement WAF rules to block requests containing path traversal sequences targeting plugin endpoints
  • Restrict access to WordPress admin and plugin directories using server-level access controls
  • Configure file system permissions to limit the web server user's delete capabilities on critical directories
bash
# Configuration example: Block path traversal attempts in Apache
# Add to .htaccess in WordPress root
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{QUERY_STRING} (\.\./|\.\.\\) [NC,OR]
RewriteCond %{REQUEST_URI} (\.\./|\.\.\\) [NC]
RewriteRule .* - [F,L]
</IfModule>

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechWoocommerce

  • SeverityHIGH

  • CVSS Score8.2

  • EPSS Probability0.69%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-22
  • Technical References
  • WordPress WooCommerce Plugin Code

  • WordPress Plugin Changeset Update

  • Wordfence Vulnerability Report
  • Related CVEs
  • CVE-2025-30835: WooCommerce Accounting File Inclusion Flaw

  • CVE-2025-39391: WooCommerce Path Traversal Vulnerability

  • CVE-2026-25328: WooCommerce File Upload Path Traversal Flaw

  • CVE-2026-2421: WordPress Carta Docente Path Traversal Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English