# theMarketer <= 1.5.9 - Unauthenticated Authentication Bypass to API Routes via Empty REST API Key

- **ID:** WPSEC-2026-3977
- **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:** Medium 6.5 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N)
- **Weakness:** CWE-287
- **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-3977/

## Description

The theMarketer plugin for WordPress is vulnerable to Authentication Bypass via the plugin's API routes (/mktr/api/...) in all versions up to, and including, 1.5.9. This is due to the REST API key check accepting an empty 'key' value when no REST API key has been configured, while the routes are dispatched even on installations that have not finished setup. This makes it possible for unauthenticated attackers to call the plugin's API routes on sites where the REST API key has not been set. They can export customer contacts and product feeds, create WooCommerce discount codes, trigger the cron and sync routes and, when order export is enabled, export orders.

## References

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

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

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.
