Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain public nonce via opti_behavior_refresh_nonces
-
DeliverySend crafted heatmap recording request
-
ExploitInject script into country_name parameter
-
ExecutionAdmin opens heatmap analytics page
-
ImpactScript 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
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.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
Remote code execution in the WP Query Console WordPress plugin (versions up to and including 1.0) by Ajit Bohra allows u
EUVD-2026-102668
GHSA-gc4h-w8gx-jfq5
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB