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 'country_name' Location 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 heatmap recording endpoint accepts unauthenticated requests protected only by a nonce that any visitor can freely obtain via the public opti_behavior_refresh_nonces AJAX action, removing any practical barrier to injecting the malicious payload.
Published: 2026-10-16
Score: 7.2 High
EPSS: < 1% Very Low
KEV: No
Impact: Cross‑Site Scripting
Action: Apply Patch
AI Analysis

Impact

The vulnerability in the Opti‑Behavior plugin allows unauthenticated attackers to store malicious JavaScript in the application via the 'country_name' parameter sent to a heatmap recording endpoint. The lack of input sanitization and output escaping makes the injected payload persist and execute in any browser that loads the affected page, potentially exposing user data, hijacking sessions, or defacing content (these outcomes are inferred from the described impact, not directly stated).

Affected Systems

WordPress installations that have the Opti‑Behavior plugin version 1.9.2.1 or earlier, including all versions up to and including 1.9.2.1.

Risk and Exploitability

With a CVSS score of 7.2, the vulnerability poses a significant risk, especially given that the required nonce can be obtained by any visitor via the public AJAX action and there is no practical authentication barrier. The EPSS score indicates that the probability of exploitation is below 1%, and the flaw is not listed in CISA's KEV catalog, but the combination of unauthenticated access and stored payloads means exploitation is straightforward for attackers who discover the endpoint.

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

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Opti‑Behavior plugin to a version later than 1.9.2.1 that includes the input validation fix.
  • If an upgrade is not possible, remove the Opti‑Behavior plugin or at minimum disable the 'opti_behavior_refresh_nonces' AJAX action to eliminate the nonce‑based injection path.
  • Implement a web application firewall rule to block requests containing suspicious JavaScript payloads in the 'country_name' parameter or to scrub the parameter before storage.

Generated by OpenCVE AI on October 16, 2026 at 16:14 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 'country_name' Location 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 heatmap recording endpoint accepts unauthenticated requests protected only by a nonce that any visitor can freely obtain via the public opti_behavior_refresh_nonces AJAX action, removing any practical barrier to injecting the malicious payload.
Title Opti-Behavior <= 1.9.2.1 - Unauthenticated Stored DOM-Based Cross-Site Scripting via 'country_name' Location 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.367Z

Reserved: 2026-09-22T15:33:24.393Z

Link: CVE-2026-95809

cve-icon Vulnrichment

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

cve-icon NVD

Status : Deferred

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

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

Link: CVE-2026-95809

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-16T16:15:07Z

Weaknesses
  • CWE-79

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