CVE-2024-12861 Path traversal in W2S – Migrate WooCommerce to Shopify

Medium 6.5 Published Updated

Authenticated subscribers can read arbitrary server files via an AJAX action, potentially exposing sensitive information.

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

What is CVE-2024-12861?

CVE-2024-12861 is a medium-severity path traversal vulnerability in villatheme W2S – Migrate WooCommerce to Shopify, published on 30 Jan 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The W2S – Migrate WooCommerce to Shopify plugin for WordPress is vulnerable to Arbitrary File Read in all versions up to, and including, 1.2.1 via the 'viw2s_view_log' AJAX action. This makes it possible for authenticated attackers, with Subscriber-level access and above, to read the contents of arbitrary files on the server, which can contain sensitive information.

Weakness: CWE-73

Which versions are affected by CVE-2024-12861?

It affects 1 product.

Products include Villatheme W2s.

How do I fix CVE-2024-12861?

No fix has been published for CVE-2024-12861 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-2024-12861 being exploited?

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

Sources

Also known as GHSA-fgc5-6vqg-25q8.

Is CVE-2024-12861 in your software?

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

Check your SBOMs for free