CVE-2026-133927: WebToffee WooCommerce Product Feeds <= 2.4.4 - Authenticated (Administrator+) Path Traversal to Arbitrary File Write via 'cron_id' Parameter
The WebToffee WooCommerce Product Feeds – Google Shopping, Pinterest, TikTok Ads, & More plugin for WordPress is vulnerable to Path Traversal in all versions up to, and including, 2.4.4 via the cronid parameter of the duplicatefeed() function. The vulnerability exists because duplicatefeed() builds a new history row's filename by concatenating the itemfilename and wtpffileas values previously persisted in a source row's serialized formdata — where only sanitizetextfield() was applied, a filter that preserves / and . characters — without calling sanitizefilename(); that tainted name is then stored verbatim by createhistoryentry(), reloaded by processaction() with no further sanitization, and concatenated onto the export base directory by getfilepath() with no realpath() normalization or directory-jail check. This makes it possible for authenticated attackers, with administrator-level access and above, to write the feed exporter's output to any web-process-writable path reachable by traversal from the plugin's uploads/webtoffeeproductfeed/ export directory — and, because the file extension is controlled through wtpffileas, to drop PHP files at web-accessible locations and achieve remote code execution. Exploitation requires three authenticated AJAX requests using a valid Shop Manager or Administrator nonce: a seed export POST to plant the traversal sequences in formdata, a pffeedduplicate call to propagate the unsanitized filename into a new history row, and a subsequent write-export call to trigger fileputcontents at the resolved traversal path.
Affected Software
Event History
Frequently Asked Questions
Can an unauthenticated or low-privileged WordPress user exploit this issue?
No. Exploitation requires an authenticated attacker with administrator-level access or higher.
Which plugin versions are affected?
All versions up to and including 2.4.4 are affected.
What limits the locations an attacker can write to?
The target must be writable by the web process and reachable through path traversal from the plugin's uploads/webtoffee_product_feed/ export directory.