---
id: CVE-2026-95686
title: >-
  The Opti-Behavior – Self-Hosted Heatmaps, Session Recordings, Funnels, A/B
  Testing & Smart Insights plugin for WordPress is vulnerable to Stored
  DOM-Based Cross-Site Scripting via the 'targetUrl' parameter in all versions
  up to, and incl…
summary: >-
  The Opti-Behavior – Self-Hosted Heatmaps, Session Recordings, Funnels, A/B
  Testing & Smart Insights plugin for WordPress is vulnerable to Stored
  DOM-Based Cross-Site Scripting via the 'targetUrl' parameter in all versions
  up to, and incl…
severity: high
cvss: 7.2
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
vendor: optiuser
product: 'Opti-Behavior – Self-Hosted Heatmaps, Funnels, A/B Testing & Smart Insights'
affected:
  - >-
    opti-behavior_self-hosted_heatmaps_funnels_a_b_testing_smart_insights <=
    1.9.2.1
published: '2026-10-16'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T15:17:37.160'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-95686'
references:
  - url: 'https://plugins.svn.wordpress.org/opti-behavior/'
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/opti-behavior/tags/1.9.1/admin/class-opti-behavior-heatmap-ajax-handler.php#L1652
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/opti-behavior/tags/1.9.1/admin/class-opti-behavior-heatmap-ajax-handler.php#L3455
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/opti-behavior/tags/1.9.1/admin/class-opti-behavior-heatmap-post-metabox.php#L1389
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/opti-behavior/tags/1.9.1/assets/js/metabox-analytics.js#L553
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/opti-behavior/tags/1.9.1/public/class-opti-behavior-heatmap-frontend.php#L905
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/changeset/3738510/opti-behavior/trunk/assets/js/metabox-analytics.js
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/41f6939d-d87a-47e5-979f-2cad021c6e81?source=cve
    label: security@wordfence.com
tags:
  - nvd
  - cve.org
epss: 0.00278
epssPercentile: 0.20115
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-16T14:34:30.581696Z'
ingestedAt: '2026-10-16T06:00:00.394Z'
---

## Overview

The Opti-Behavior – Self-Hosted Heatmaps, Session Recordings, Funnels, A/B Testing & Smart Insights plugin for WordPress is vulnerable to Stored DOM-Based Cross-Site Scripting via the 'targetUrl' parameter in all versions up to, and including, 1.9.2.1 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The ingest endpoint is gated only by a nonce that is publicly emitted to every anonymous visitor on tracked pages via optiBehaviorHeatmapConfig.nonce, meaning no account or authentication of any kind is required to write the malicious payload.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
