Vulnerability 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 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://plugins.svn.wordpress.org/opti-behavior/
- https://plugins.trac.wordpress.org/browser/opti-behavior/tags/1.9.1/admin/class-
- https://plugins.trac.wordpress.org/browser/opti-behavior/tags/1.9.1/admin/class-
- https://plugins.trac.wordpress.org/browser/opti-behavior/tags/1.9.1/admin/class-
- https://plugins.trac.wordpress.org/browser/opti-behavior/tags/1.9.1/assets/js/me
- https://plugins.trac.wordpress.org/browser/opti-behavior/tags/1.9.1/public/class
- https://plugins.trac.wordpress.org/changeset/3738510/opti-behavior/trunk/assets/
- https://www.wordfence.com/threat-intel/vulnerabilities/id/41f6939d-d87a-47e5-979
FAQ
What is CVE-2026-95686?
CVE-2026-95686 is a vulnerability with a CVSS score of 7.2 (HIGH). 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' para...
How severe is CVE-2026-95686?
CVE-2026-95686 has been rated HIGH with a CVSS base score of 7.2/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-95686?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.