Skip to main content

Opti-Behavior CVE-2026-95809

| EUVDEUVD-2026-102668 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-10-16 Wordfence GHSA-gc4h-w8gx-jfq5
7.2
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain public nonce via opti_behavior_refresh_nonces
  2. Delivery
    Send crafted heatmap recording request
  3. Exploit
    Inject script into country_name parameter
  4. Execution
    Admin opens heatmap analytics page
  5. Impact
    Script executes in dashboard context

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The Opti-Behavior plugin (versions up to and including 1.9.2.1) must be installed and active with heatmap session recording in use. Exploitation specifically abuses the unauthenticated heatmap recording AJAX endpoint, whose only protection is a nonce that any anonymous visitor can obtain through the public opti_behavior_refresh_nonces AJAX action - so there is effectively no authentication or privilege barrier. The payload is delivered through the 'country_name' location parameter and is STORED, meaning it does not execute at injection time; it fires only when a user (most impactfully an administrator) subsequently loads the page that renders the recorded heatmap/analytics data. The limiting factor is therefore deferred execution requiring a victim to later view the injected analytics page, and the scope is confined to products where this plugin is active.

Impact

This is a genuine but moderate-priority issue rather than an emergency. The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N, base 7.2 HIGH) indicates network-reachable, low-complexity, unauthenticated exploitation with a scope change, which is corroborated by the description: the heatmap recording endpoint accepts unauthenticated requests guarded only by a nonce that any visitor can freely mint via the public opti_behavior_refresh_nonces AJAX action, effectively neutralizing the nonce as a control. That lowered barrier is the single most important real-world signal and aligns well with PR:N and AC:L. However, several higher-tier signals are absent: no EPSS probability was supplied, there is no CISA KEV listing, and no public exploit code is referenced - so this is 'no public exploit identified at time of analysis,' not confirmed exploitation. SSVC-style framing: exploitation = none observed, automatable = likely (unauthenticated, scriptable endpoint), technical impact = partial (stored XSS, C:L/I:L, no availability loss). The practical risk is that the stored payload executes in the context of whoever later views the injected page - most consequentially an administrator reviewing heatmap analytics - enabling session/dashboard-context script execution rather than direct server compromise. Net: a real, worth-patching flaw whose severity rests on the trivially bypassable nonce, but tempered by partial impact, absence of KEV/EPSS/POC evidence, and a niche product footprint.

Exploit ScenarioDerived

An unauthenticated attacker first calls the public opti_behavior_refresh_nonces AJAX action to obtain a valid nonce, then submits a crafted heatmap session-recording request setting the 'country_name' location parameter to a malicious script payload. The payload is stored and later rendered without proper escaping, so when an administrator opens the heatmap analytics view for the affected page, the script executes in their authenticated dashboard context. No public exploit code is referenced, but the attack requires no authentication and only standard HTTP requests.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 16, 2026

Stored DOM-based cross-site scripting in the Opti-Behavior WordPress plugin (all versions up to and including 1.9.2.1) allows unauthenticated attackers to inject arbitrary JavaScript that executes when a victim later views recorded heatmap, session, or analytics data. The heatmap recording endpoint requires no authentication, and its only guard - a nonce - is freely obtainable by any anonymous visitor through the plugin's public opti_behavior_refresh_nonces AJAX action, so there is effectively no privilege barrier; the payload is stored rather than reflected, meaning it fires only when an administrator or other user loads the affected analytics page. The assessed CVSS vector is CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N (7.2), there is no CISA KEV entry and no public exploit code identified at time of analysis, and it should be treated as a genuine but moderate-priority issue rather than an emergency.

RemediationAI

The primary fix is to upgrade the Opti-Behavior plugin beyond version 1.9.2.1 as soon as a patched release is published; the vendor's trunk contains a corrective changeset at https://plugins.trac.wordpress.org/changeset/3738510/opti-behavior/trunk/assets/js/metabox-analytics.js targeting the escaping in the analytics rendering code, so upstream fix available (PR/commit); released patched version not independently confirmed - verify the plugin's current version and changelog before assuming the installed copy is clean. If no patched release is available, the most effective compensating control is to deactivate the plugin entirely (side effect: loss of all heatmap, session recording, funnel, and A/B testing data collection, and existing recordings become inaccessible), or at minimum disable heatmap and session recording so the vulnerable stored-data path cannot be populated (side effect: no new analytics data accrues while the flaw remains). Because the nonce needed to abuse the recording endpoint is issued freely by the opti_behavior_refresh_nonces AJAX action, nonce-based restrictions are not a viable mitigation. Additional hardening includes blocking or rate-limiting requests to /wp-admin/admin-ajax.php carrying heatmap recording actions at the WAF or reverse proxy (side effect: may require tuning to avoid disrupting legitimate analytics traffic, and is bypassable if the attacker can reach the origin directly), and restricting access to the plugin's analytics and recording screens to trusted administrator accounts (side effect: reduces but does not eliminate exposure, since the stored payload still fires when an administratoropens the page). Monitor for the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/6c631593-4857-46c8-80b3-d028524cb86c for the exact fixed version once it is confirmed.

Affected VersionsENISA

Opti-Behavior – Self-Hosted Heatmaps, Funnels, A/B Testing & Smart Insights 0 ≤1.9.2.1

Affected Packages

euvd opti_behavior_self_hosted_heatmaps_funnels_a_b_testing_smart_insights no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation), specifically a stored DOM-based XSS variant in a self-hosted WordPress analytics plugin that records heatmaps, session recordings, funnels, and A/B tests. The vulnerable data path begins at the plugin's heatmap session recording AJAX handler (admin/class-opti-behavior-heatmap-ajax-handler.php, referenced at lines 1603 and 2656 of the 1.9.0 tag), which persists client-supplied location metadata - including the 'country_name' parameter - into stored session records (includes/class-opti-behavior-heatmap-session.php, line 369). Because the endpoint is registered for unauthenticated visitors and is protected only by a nonce, and because that nonce is handed out on request by the public opti_behavior_refresh_nonces AJAX action, any anonymous user can submit a crafted recording. The stored value is subsequently emitted into an administrative analytics page without adequate output escaping, where client-side JavaScript in assets/js/metabox-analytics.js (line 668 of the 1.9.0 tag) writes it into the DOM as markup rather than text, turning the stored string into an execution sink; the post metabox renderer (admin/class-opti-behavior-heatmap-post-metabox.php, line 1498) is part of the same display path. The CPE string cpe:2.3:a:optiuser:opti-behavior_-_self-hosted_heatmaps,_funnels,_a/b_testing_&_smart_insights identifies the affected WordPress plugin package; the CVSS scope-changed rating reflects that script executing in the analytics page's origin can act on behalf of a viewing administrator within the WordPress dashboard context.

Know when Wordpress Plugin gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Wordfence) PRIMARY 7.2 HIGH
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 7.2 HIGH

Nonce is freely obtainable by any visitor so PR:N and AC:L hold; script runs in the victim's browser/dashboard context giving S:C with partial C:L/I:L and no availability impact.

3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

The Opti-Behavior WordPress plugin, versions up to and including 1.9.2.1, contains a stored cross-site scripting issue that can allow unauthenticated attackers to inject scripts into analytics data viewed by administrators, potentially compromising admin sessions and site integrity. Because no vendor-released patch is identified at time of analysis and no public exploit has been identified at time of analysis, leadership should treat this as a moderate-priority risk requiring inventory, mitigation, and monitoring rather than emergency response.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include disabling or removing the Opti-Behavior plugin if not essential; restricting WordPress admin and analytics page access to trusted users; deploying WAF or virtual patching to block the opti_behavior_refresh_nonces AJAX action and heatmap recording endpoints; enforcing least privilege and MFA for administrators; implementing Content Security Policy to restrict script execution; monitoring logs and stored analytics data for suspicious script injection; and applying the vendor patch as soon as one is released.

Threat Intelligence Overview

EPSS Score
0.2%
Top 85% exploitable
Prevalence
Low
niche self-hosted heatmap/analytics WordPress plugin, limited install base
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Medium
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2024-1698 CRITICAL POC
9.8 Feb 27

SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a

CVE-2023-6875 CRITICAL POC
9.8 Jan 11

The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i

CVE-2024-1512 CRITICAL POC
9.8 Feb 17

The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base

CVE-2024-4295 CRITICAL POC
9.8 Jun 05

The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in

CVE-2024-50498 CRITICAL POC
10.0 Oct 28

Remote code execution in the WP Query Console WordPress plugin (versions up to and including 1.0) by Ajit Bohra allows u

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy