CVE-2025-31405 WordPress Fami WooCommerce Compare plugin <= 1.0.5 - Local File Inclusion vulnerability
Attackers can exploit a Local File Inclusion vulnerability in the Fami WooCommerce Compare plugin to read arbitrary files or execute code.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-31405?
CVE-2025-31405 is a high-severity path traversal vulnerability in zankover Fami WooCommerce Compare, published on 4 Apr 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in zankover Fami WooCommerce Compare fami-woocommerce-compare allows PHP Local File Inclusion.This issue affects Fami WooCommerce Compare: from n/a through <= 1.0.5.
Weakness: CWE-98
Which versions are affected by CVE-2025-31405?
How do I fix CVE-2025-31405?
No fix has been published for CVE-2025-31405 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-31405 being exploited?
There is no known exploitation of CVE-2025-31405 in the wild and no public exploit code.
Sources
Also known as GHSA-752q-gmq4-ghfx.