Read the docs

WebToffee WooCommerce Product Feeds Path Traversal to Arbitrary File Write

Priority LOW 38CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
High
User interaction
None
Attack complexity
Low
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
No fix listed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-22 and the CVSS impact.

Summary

The WebToffee WooCommerce Product Feeds plugin for WordPress is vulnerable to path traversal (CWE-22) in all versions up to, and including, 2.4.4, via the cron_id parameter of duplicate_feed(). The plugin keeps / and . characters in file names and never checks the export path against its directory. An attacker with administrator-level access can write feed output to any web-process-writable path reachable from uploads/webtoffee_product_feed/, and by controlling the file extension through wt_pf_file_as, drop PHP files for remote code execution.

Written with Claude Haiku 5.5 from the sources below · 2026-12-02

Description from the CNA

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.

Why it matters now

Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
WebToffeeWebToffee WooCommerce Product Feeds – Google Shopping, Pinterest, TikTok Ads, & Moreup to 2.4.4—No fix listedCNA
  • WebToffee WooCommerce Product Feeds – Google Shopping, Pinterest, TikTok Ads, & More VendorWebToffee Affected up to 2.4.4 Fixed in — No fix listed CNA

Remediation

No fixed version is listed for this plugin. Until a patched release is available, limit administrator and Shop Manager accounts to trusted users and check the uploads/webtoffee_product_feed/ directory for unexpected PHP files.

Written with Claude Haiku 5.5 from the sources below · 2026-12-02

Timeline

  1. 2026-12-02 Threatist record created from CVE-2026-133927
  2. 2026-12-02 Alias added: GHSA-7hhm-49vx-cfm9

References

  • TI-2024-07682 GDPR Cookie Consent <= 2.6.0 - Bulk Delete via CSRF CVSS 3.1MEDIUM 6.5
  • TI-2024-07785 GDPR Cookie Consent <= 2.6.0 - Unauthenticated Stored XSS CVSS 3.1MEDIUM 5.4
  • TI-2024-20216 WordPress Export and Import Users and Customers plugin <= 2.5.2 - Path Traversal vulnerability CVSS 3.1MEDIUM 4.3
  • TI-2024-00649 Stripe Payment Plugin for WooCommerce <= 3.7.9 - Unauthenticated SQL Injection CVSS 3.1CRITICAL 9.8
  • TI-2023-02962 Stripe Payment Plugin for WooCommerce <= 3.7.7 - Authentication Bypass CVSS 3.1CRITICAL 9.8
  • TI-2022-23148 WordPress Product Reviews Import Export for WooCommerce Plugin <= 1.4.8 is vulnerable to CSV Injection CVSS 3.1CRITICAL 9.8
See all 70 →

Sources