{
 "id": "WPSEC-2026-3693",
 "url": "https://wpsec.com/vuln/WPSEC-2026-3693/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-3693/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-3693/index.md",
 "title": "OptinMonster <= 2.17.1 - Cross-Site Request Forgery via Client-Side Path Traversal in 'publishCampaign' Parameter",
 "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.",
 "plugin": {
  "slug": "optinmonster",
  "name": "OptinMonster",
  "full_name": "Popup Builder & Popup Maker for WordPress – OptinMonster Email Marketing and Lead Generation",
  "wordpress_org": "https://wordpress.org/plugins/optinmonster/",
  "advisories_url": "https://wpsec.com/vuln/plugin/optinmonster/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/optinmonster"
 },
 "type": "CSRF",
 "cwe": [
  "CWE-352"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 8.8,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
  "severity": "High"
 },
 "affected": {
  "ranges": [
   {
    "from": "2.16.5",
    "from_inclusive": true,
    "to": "2.18.0",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 2.16.5 before 2.18.0"
  ]
 },
 "introduced_in": "2.16.5",
 "fixed_in": "2.18.0",
 "remediation": "Update to 2.18.0 or later.",
 "fix_released": "2026-11-20T23:49:16+00:00",
 "published": "2026-11-22T00:44:11+00:00",
 "updated": "2026-11-21T09:03:00.272768+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-3693/",
  "https://plugins.svn.wordpress.org/optinmonster/tags/2.18.0/",
  "https://wordpress.org/plugins/optinmonster/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/optinmonster",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Medium",
  "affected_versions": "Medium",
  "as_of": "2026-11-22"
 }
}