CVE-2025-7359 Counter live visitors for WooCommerce <= 1.3.6 - Unauthenticated Arbitrary File Deletion in wcvisitor_get_block

High 8.2 Published Updated

Unauthenticated attackers can delete arbitrary files or directories via path traversal in the Counter live visitors for WooCommerce plugin.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-7359?

CVE-2025-7359 is a high-severity path traversal vulnerability in danielriera Counter live visitors for WooCommerce, published on 16 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Counter live visitors for WooCommerce plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the wcvisitor_get_block function in all versions up to, and including, 1.3.6. This makes it possible for unauthenticated attackers to delete arbitrary files on the server. NOTE: This particular vulnerability deletes all the files in a targeted arbitrary directory rather than a specified arbitrary file, which can lead to loss of data or a denial of service condition.

Weakness: CWE-22

Which versions are affected by CVE-2025-7359?

How do I fix CVE-2025-7359?

No fix has been published for CVE-2025-7359 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2025-7359 being exploited?

There is no known exploitation of CVE-2025-7359 in the wild and no public exploit code.

Sources

Also known as GHSA-7pr6-hx5j-fw8h.

Is CVE-2025-7359 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free