Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessHarvest public nonce from tracked page
-
DeliverySend crafted ingest request with malicious targetUrl
-
ExploitPayload stored without sanitization
-
ExecutionVictim/admin loads injected analytics page
-
ImpactScript executes in browser 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 | Requires the Opti-Behavior plugin (v1.9.2.1 or earlier) installed and active with heatmap/session tracking enabled on at least one page, since that is what publicly emits the optiBehaviorHeatmapConfig.nonce an attacker needs and exposes the ingest endpoint. No account or authentication is required - the nonce is handed to every anonymous visitor on tracked pages - so there is effectively no authentication limit. The stored payload is injected via the 'targetUrl' parameter and reaches a DOM sink (metabox-analytics.js); execution is deferred until a user - most plausibly an administrator viewing the heatmap analytics/metabox - accesses the injected page, which is the primary limiting factor on immediate impact. |
| Impact | This is a genuinely notable issue rather than a high-CVSS-but-low-real-risk artifact, because the CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N) is fully corroborated by the description: the write (ingest) endpoint is gated only by a nonce that the plugin itself publicly emits to every anonymous visitor via optiBehaviorHeatmapConfig.nonce, so the PR:N (unauthenticated) rating is credible and not inflated. Severity is tempered by the impact metrics - C:L/I:L/A:N with S:C - reflecting that this is stored/DOM XSS (script execution in a victim's browser context) rather than direct server compromise. No EPSS score, CISA KEV listing, or public POC was provided in the input, so there is no signal of active exploitation; per precision rules this is 'no public exploit identified at time of analysis.' The main residual uncertainty is who the victim is: 'a user accesses an injected page' most plausibly includes the site administrator reviewing analytics/heatmap data (the DOM sink is in admin-side metabox-analytics.js), which would make this effectively a path to admin-session compromise - but the input does not explicitly confirm the victim's privilege level, so this should be verified against the Wordfence advisory. Net: treat as a real priority for sites running this plugin because exploitation requires no authentication, while noting the impact is browser-context XSS, not server RCE. |
| Exploit ScenarioDerived | An unauthenticated attacker reads the nonce freely published in the page source (optiBehaviorHeatmapConfig.nonce) on any tracked page, then sends a crafted request to the heatmap ingest endpoint with a malicious 'targetUrl' value. The payload is stored without sanitization and later rendered into the DOM, so it executes in the browser of whoever views the injected page - likely including an administrator viewing the plugin's analytics metabox. No public exploit code was identified at time of analysis, but the attack path is straightforward given the publicly exposed nonce. |
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 WordPress plugin Opti-Behavior (Self-Hosted Heatmaps, Session Recordings, Funnels, A/B Testing & Smart Insights) through version 1.9.2.1 lets unauthenticated attackers write arbitrary script content into heatmap/analytics records via the 'targetUrl' parameter, which is later rendered into a DOM sink when a user - most plausibly an administrator viewing the heatmap analytics metabox - accesses the injected page. The write endpoint is gated only by a nonce (optiBehaviorHeatmapConfig.nonce) that the plugin itself publicly emits to every anonymous visitor on tracked pages, so no account or login of any kind is required (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C, 7.2). Exploitation requires the plugin to be installed and active with heatmap/session tracking enabled on at least one page; no public exploit code was identified at time of analysis and there is no CISA KEV confirmation of active exploitation, though the code references in the advisory make the vulnerable paths easy to locate.
RemediationAI
No fixed tagged release is independently confirmed in the supplied data; the only remediation artifact is the trunk changeset https://plugins.trac.wordpress.org/changeset/3738510/opti-behavior/trunk/assets/js/metabox-analytics.js, which indicates an upstream fix available (commit); released patched version not independently confirmed - treat any version above 1.9.2.1 as the target once the vendor publishes it, and verify against the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/41f6939d-d87a-47e5-979f-2cad021c6e81?source=cve before relying on a build. If an immediate upgrade is not possible, the most effective compensating control is to disable heatmap and session recording on all publicly reachable pages, which stops the plugin from emitting optiBehaviorHeatmapConfig.nonce and therefore removes the unauthenticated write primitive - the trade-off is loss of all analytics collection for that period. A WAF rule or reverse-proxy filter that blocks or strictly validates the plugin's ingest/admin-ajax action and rejects payloads containing angle brackets, javascript: URIs, or encoded script markers in a targetUrl field will reduce exposure, but such rules are bypassable through encoding tricks and can break legitimate analytics ingestion. Because the payload is stored, also review and purge existing heatmap/session records whose targetUrl contains script or markup, failing that delete the plugin's stored analytics tables, since residual payloads will continue to fire for administrators viewing the metabox. Lastly, restrict who viewed the heatmap analytics screens during the exposure window and treat any administrator session active then as potentially compromised, since the injected script runs with full admin page privileges.
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 flaw is CWE-79 (Improper Neutralization of Input During Web Page Generation), specifically a stored, DOM-based variant. Opti-Behavior collects visitor interaction data on the WordPress front end and forwards it to an AJAX ingest handler (class-opti-behavior-heatmap-ajax-handler.php), storing the submitted values - including the 'targetUrl' parameter - for later display in heatmap analytics and post metabox views. The ingest endpoint is protected solely by a WordPress nonce, and the plugin publishes that nonce to the browser in the global optiBehaviorHeatmapConfig object on every tracked page, so any anonymous visitor can harvest it and submit authenticated-looking writes without ever registering or logging in. The stored value is later consumed on the client side in metabox-analytics.js (see the referenced line numbers in tags/1.9.1) without adequate output escaping, so untrusted data reaches a DOM sink and executes in the context of whoever views the analytics screen. Because the attack originates on the public front end and executes in the privileged admin back end, the CVSS vector carries S:C (scope changed) with C:L/I:L/A:N - the confidentiality and integrity impact is limited to script execution in the victim's browser session rather than server compromise. This is the classic WordPress pattern of a public-facing AJAX ingest endpoint whose only gate is a nonce that is by design disclosed to anonymous users, so the nonce provides CSRF protection but no real authorization boundary.
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
Publicly emitted nonce makes it genuinely unauthenticated (PR:N) and network-exploitable (AV:N/AC:L); stored XSS executing in a victim's browser is a scope change (S:C) with limited C/I 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 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.
Executive ViewAI
A high-severity stored cross-site scripting flaw in the WordPress plugin Opti-Behavior (versions up to and including 1.9.2.1) lets unauthenticated attackers plant malicious scripts inside heatmap and analytics records that then execute when an administrator opens those reports. Because no login or account of any kind is required and the plugin publicly exposes the very nonce that guards its write endpoint to anonymous visitors, any internet-facing WordPress site running the affected plugin with heatmap or session tracking enabled is a realistic target, and a compromised administrator session can put the entire site at risk. Leadership should treat this as a live exposure for any externally reachable WordPress property using the plugin until it is disabled or otherwise mitigated, since no vendor patch is currently available.
No vendor-released patch identified at time of analysis. Interim mitigations: deactivate the Opti-Behavior plugin (or disable heatmap/session recording and the targetUrl write endpoint) on all affected sites; block script and markup payloads in the targetUrl parameter via WAF or virtual patching; apply a strict Content-Security-Policy in wp-admin to stop inline script execution; restrict administrator and analytics access by IP allowlisting, VPN, and mandatory multi-factor authentication; and audit and purge stored heatmap and analytics records for injected content.
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-102664
GHSA-x53h-w4xx-wqx7
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB