# theMarketer <= 1.5.9 - Unauthenticated Path Traversal to Arbitrary File Read and Overwrite via 'lang' and 'mime-type' Parameters

- **ID:** WPSEC-2026-3978
- **Plugin:** theMarketer – Email marketing, Newsletters, Automation & Loyalty for Woocommerce (`themarketer`), https://wordpress.org/plugins/themarketer/
- **Affected versions:** all versions before 1.6.0
- **Fixed in:** 1.6.0 (Update to 1.6.0 or later.)
- **Severity:** High 7.7 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:H)
- **Weakness:** CWE-22
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-26)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/themarketer
- **Fix released:** 2026-11-25
- **Published:** 2026-11-26
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3978/

## Description

The theMarketer plugin for WordPress is vulnerable to Path Traversal via the 'lang', 'mime-type' and 'start_date' parameters of the Feed, Brands, Category and Orders API routes in all versions up to, and including, 1.5.9. This is due to the cache file name being built from these request values without validation and without checking that the resulting path stays inside the cache directory. This makes it possible for unauthenticated attackers to read arbitrary files on the server, such as wp-config.php, whose contents are returned in the response, and to overwrite arbitrary files with generated feed content, which can break the site. Unauthenticated access requires a site where the theMarketer REST API key has not been configured. On other sites the attacker needs the REST API key.

## References

- https://wpsec.com/vuln/WPSEC-2026-3978/
- https://plugins.svn.wordpress.org/themarketer/tags/1.6.0/
- https://wordpress.org/plugins/themarketer/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-3978/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
