Opti-Behavior <= 1.11.0 - Reflected Cross-Site Scripting via 'opti_assets_url' Parameter in Heatmap Capture Mode
- ID
- WPSEC-2026-3681
- Plugin
- Opti-Behavior – Self-Hosted Heatmaps, Funnels, A/B Testing & Smart Insights (opti-behavior)
- Affected
- from 1.0.9 before 1.11.1
- Remediation
- Update to 1.11.1 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weakness
- CWE-79
- Usage
- Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-21
- Attack surface
- Opti-Behavior on WPSec AttackSurface
- Fix released
- Published
Description
The Opti-Behavior plugin for WordPress is vulnerable to Reflected (DOM-based) Cross-Site Scripting via the 'opti_assets_url' parameter of the heatmap capture mode in all versions up to, and including, 1.11.0. This is due to the capture script being enqueued on any front-end page requested with 'opti_capture_mode=1', with no capability or nonce check, and the script loading a JavaScript file from a base URL taken from the page address without validation. This makes it possible for unauthenticated attackers to execute arbitrary scripts in the context of the site if they can trick a user, such as an administrator, into clicking a crafted link.
References
- https://wpsec.com/vuln/WPSEC-2026-3681/
- https://plugins.svn.wordpress.org/opti-behavior/tags/1.11.1/
- https://wordpress.org/plugins/opti-behavior/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS