CVE-2026-95809

Opti-Behavior <= 1.9.2.1 - Unauthenticated Stored DOM-Based Cross-Site Scripting via 'country_name' Location 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 '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.

Analysis

AI-generated

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

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

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, 3:33 PM
Status
Deferred
Published
Oct 16, 2026, 6:17 AM
Modified
Oct 16, 2026, 3:17 PM