Stored DOM-based cross-site scripting in Opti-Behavior plugin
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
The Opti-Behavior plugin for WordPress, in all versions up to and including 1.9.2.1, fails to sanitize input and escape output for the 'country_name' location parameter (CWE-79). An unauthenticated attacker can inject a script that is stored and runs in the browser of any user who opens an injected page. The heatmap recording endpoint accepts requests protected only by a nonce that any visitor can obtain through a public AJAX action.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| optiuser | Opti-Behavior – Self-Hosted Heatmaps, Funnels, A/B Testing & Smart Insights | up to 1.9.2.1 | — | No fix listed | CNA |
- Opti-Behavior – Self-Hosted Heatmaps, Funnels, A/B Testing & Smart Insights Vendoroptiuser Affected up to 1.9.2.1 Fixed in — No fix listed CNA
Remediation
The sources list no fixed version for Opti-Behavior.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
Timeline
- 2026-10-16 Threatist record created from CVE-2026-95809
- 2026-10-16 CISA SSVC decision points changed
- 2026-10-16 Priority changed: MEDIUM → LOW
- 2026-10-16 Alias added: GHSA-gc4h-w8gx-jfq5
References
Other 8
- https://www.wordfence.com/threat-intel/vulnerabilities/id/6c631593-4857-46c8-80b3-d028524cb86c?source=cve
- https://plugins.trac.wordpress.org/browser/opti-behavior/tags/1.9.0/assets/js/metabox-analytics.js#L668
- https://plugins.trac.wordpress.org/browser/opti-behavior/tags/1.9.0/admin/class-opti-behavior-heatmap-ajax-handler.php#L2656
- https://plugins.trac.wordpress.org/browser/opti-behavior/tags/1.9.0/admin/class-opti-behavior-heatmap-ajax-handler.php#L1603
- https://plugins.trac.wordpress.org/browser/opti-behavior/tags/1.9.0/includes/class-opti-behavior-heatmap-session.php#L369
- https://plugins.trac.wordpress.org/browser/opti-behavior/tags/1.9.0/admin/class-opti-behavior-heatmap-post-metabox.php#L1498
- https://plugins.svn.wordpress.org/opti-behavior/
- https://plugins.trac.wordpress.org/changeset/3738510/opti-behavior/trunk/assets/js/metabox-analytics.js
More optiuser vulnerabilities
- TI-2026-75203 Stored cross-site scripting in Opti-Behavior plugin for WordPress CVSS 3.1HIGH 7.2
Sources
- CVE-2026-95809 · CVE Program
- CVE-2026-95809 · NVD
- FIRST EPSS
- GHSA-gc4h-w8gx-jfq5 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences