CVE-2026-95686

Opti-Behavior <= 1.9.2.1 - Unauthenticated Stored DOM-Based Cross-Site Scripting via 'targetUrl' Parameter

Published Oct 16, 2026 CVSS 3.1 · 7.2 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

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.

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Oct 16, 2026, 2:39 PM
Reserved
Sep 22, 2026, 2:13 PM
Status
Deferred
Published
Oct 16, 2026, 6:17 AM
Modified
Oct 16, 2026, 3:17 PM