Vulnerabilities / Opti-Behavior / WPSEC-2026-3681

Opti-Behavior <= 1.11.0 - Reflected Cross-Site Scripting via 'opti_assets_url' Parameter in Heatmap Capture Mode

Medium 6.1 CWE-79Fixed in 1.11.1
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

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0