CVE-2026-133927
Description
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 `cron_id` parameter of the `duplicate_feed()` function. The vulnerability exists because `duplicate_feed()` builds a new history row's `file_name` by concatenating the `item_filename` and `wt_pf_file_as` values previously persisted in a source row's serialized `form_data` — where only `sanitize_text_field()` was applied, a filter that preserves `/` and `.` characters — without calling `sanitize_file_name()`; that tainted name is then stored verbatim by `create_history_entry()`, reloaded by `process_action()` with no further sanitization, and concatenated onto the export base directory by `get_file_path()` 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/webtoffee_product_feed/` export directory — and, because the file extension is controlled through `wt_pf_file_as`, 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 `form_data`, a `pf_feed_duplicate` call to propagate the unsanitized `file_name` into a new history row, and a subsequent write-export call to trigger `file_put_contents` at the resolved traversal path.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| webtoffee | webtoffee_woocommerce_product_feeds_google_shopping_pinterest_tiktok_ads_more | {"endIncluding":"2.4.4"} | |
References
- https://plugins.trac.wordpress.org/browser/webtoffee-product-feed/tags/2.4.4/admin/modules/cron/cron.php#L161
- https://plugins.trac.wordpress.org/browser/webtoffee-product-feed/tags/2.4.4/admin/modules/cron/cron.php#L170
- https://plugins.trac.wordpress.org/browser/webtoffee-product-feed/tags/2.4.4/admin/modules/export/export.php#L1036
- https://plugins.trac.wordpress.org/browser/webtoffee-product-feed/tags/2.4.4/admin/modules/export/export.php#L801
- https://plugins.trac.wordpress.org/browser/webtoffee-product-feed/tags/2.4.4/admin/modules/history/history.php#L580
- https://plugins.trac.wordpress.org/changeset/3829120/webtoffee-product-feed/trunk/admin/modules/cron/cron.php
- https://www.wordfence.com/threat-intel/vulnerabilities/id/2b95b2c4-9c9e-41e0-8de6-4f2a79458465?source=cve
CWEs
CWE-22
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.