# OptinMonster <= 2.17.1 - Cross-Site Request Forgery via Client-Side Path Traversal in 'publishCampaign' Parameter

- **ID:** WPSEC-2026-3693
- **Plugin:** Popup Builder & Popup Maker for WordPress – OptinMonster Email Marketing and Lead Generation (`optinmonster`), https://wordpress.org/plugins/optinmonster/
- **Affected versions:** from 2.16.5 before 2.18.0
- **Fixed in:** 2.18.0 (Update to 2.18.0 or later.)
- **Severity:** High 8.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
- **Weakness:** CWE-352
- **Usage among sites WPSec scans:** plugin Medium, affected versions Medium (as of 2026-11-22)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/optinmonster
- **Fix released:** 2026-11-20
- **Published:** 2026-11-22
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3693/

## Description

The OptinMonster plugin for WordPress is vulnerable to Cross-Site Request Forgery in versions 2.16.5 up to, and including, 2.17.1. The Campaigns admin page reads the 'publishCampaign' URL parameter and, without confirmation or validation, places it unencoded in the path of an authenticated REST request that carries the administrator's REST nonce. Because the value can contain path segments and a query string, the request can be redirected to any WordPress REST route with attacker-chosen parameters. This makes it possible for unauthenticated attackers to perform REST API actions as an administrator, such as creating a new administrator account, by tricking a logged-in administrator into opening a crafted link.

## References

- https://wpsec.com/vuln/WPSEC-2026-3693/
- https://plugins.svn.wordpress.org/optinmonster/tags/2.18.0/
- https://wordpress.org/plugins/optinmonster/

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

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.
