---
id: CVE-2026-95686
title: >-
  Opti-Behavior <= 1.9.2.1 - Unauthenticated Stored DOM-Based Cross-Site
  Scripting via 'targetUrl' Parameter
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'
cvssSource: cna
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
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-16T14:34:30.581696Z'
published: '2026-10-16'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T14:39:04.505Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-95686'
references:
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/41f6939d-d87a-47e5-979f-2cad021c6e81?source=cve
  - url: >-
      https://plugins.trac.wordpress.org/browser/opti-behavior/tags/1.9.1/assets/js/metabox-analytics.js#L553
  - url: >-
      https://plugins.trac.wordpress.org/browser/opti-behavior/tags/1.9.1/admin/class-opti-behavior-heatmap-ajax-handler.php#L1652
  - url: >-
      https://plugins.trac.wordpress.org/browser/opti-behavior/tags/1.9.1/admin/class-opti-behavior-heatmap-ajax-handler.php#L3455
  - url: >-
      https://plugins.trac.wordpress.org/browser/opti-behavior/tags/1.9.1/admin/class-opti-behavior-heatmap-post-metabox.php#L1389
  - url: >-
      https://plugins.trac.wordpress.org/browser/opti-behavior/tags/1.9.1/public/class-opti-behavior-heatmap-frontend.php#L905
  - url: 'https://plugins.svn.wordpress.org/opti-behavior/'
  - url: >-
      https://plugins.trac.wordpress.org/changeset/3738510/opti-behavior/trunk/assets/js/metabox-analytics.js
tags:
  - cve.org
epss: 0.00278
epssPercentile: 0.18925
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.

## Affected

- `opti-behavior_self-hosted_heatmaps_funnels_a_b_testing_smart_insights <= 1.9.2.1`

## Remediation

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