Description
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.
Published: 2026-10-16
Score: 7.2 High
EPSS: < 1% Very Low
KEV: No
Impact: Stored DOM-Based Cross‑Site Scripting
Action: Immediate Patch
AI Analysis

Impact

The Opti‑Behavior WordPress plugin suffers from stored DOM‑based cross‑site scripting caused by insufficient input filtering on the targetUrl parameter. The flaw allows an unauthenticated user to embed malicious web scripts which are subsequently saved and served to anyone who visits the affected page. Once executed, the injected code can steal user credentials, hijack sessions, deface content or launch phishing attacks. The weakness is a classic input validation and output encoding flaw identified as CWE‑79.

Affected Systems

Affects all installations of the Opti‑Behavior Self‑Hosted Heatmaps, Funnels, A/B Testing & Smart Insights plugin running version 1.9.2.1 or earlier. The vulnerability is present in every release prior to and including 1.9.2.1, regardless of any other WordPress configuration.

Risk and Exploitability

The CVSS score of 7.2 classifies the issue as high impact. The exploitability is emphasised by the fact that the ingestion endpoint is protected only by a nonce that is emitted to every visitor; no authentication is required to write a payload. Because the nonce can be obtained by simply viewing any tracked page, an attacker can craft requests that store the malicious payload. The EPSS score is approximately 0.28% and the vulnerability is not listed in the CISA KEV catalog, but the high CVSS and lack of authentication requirements indicate a significant risk of real‑world exploitation.

Generated by OpenCVE AI on October 16, 2026 at 16:16 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Opti‑Behavior plugin to the latest release that removes the targetUrl sanitisation flaw.
  • If an upgrade is not immediately possible, modify the ingestion endpoint to enforce authentication or restrict nonce usage to logged‑in users, thereby preventing unauthenticated writes.
  • As a temporary measure, implement server‑side filtering or sanitisation of the targetUrl parameter to escape or block script data before storage.

Generated by OpenCVE AI on October 16, 2026 at 16:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 16 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 16 Oct 2026 05:45:00 +0000

Type Values Removed Values Added
Description 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.
Title Opti-Behavior <= 1.9.2.1 - Unauthenticated Stored DOM-Based Cross-Site Scripting via 'targetUrl' Parameter
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-10-16T14:39:04.505Z

Reserved: 2026-09-22T14:13:59.977Z

Link: CVE-2026-95686

cve-icon Vulnrichment

Updated: 2026-10-16T14:34:31.292Z

cve-icon NVD

Status : Deferred

Published: 2026-10-16T06:17:12.963

Modified: 2026-10-16T15:17:37.160

Link: CVE-2026-95686

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-16T16:30:13Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')