Qi Blocks <= 1.5.5 - Authenticated (Contributor+) Stored Cross-Site Scripting via Isotope 'data-isotope' Attribute
- ID
- WPSEC-2026-4406
- Plugin
- Qi Blocks (qi-blocks)
- Affected
- all versions before 1.5.6
- Remediation
- Update to 1.5.6 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
- Weakness
- CWE-79
- Usage
- Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-12-03
- Attack surface
- Qi Blocks on WPSec AttackSurface
- Fix released
- Published
Description
The Qi Blocks plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'data-isotope' (and 'data-isotope-options') HTML attribute handled by the bundled Isotope library in all versions up to, and including, 1.5.5. This is due to the bundled library automatically initializing Isotope on any element carrying these attributes with JSON options taken from the attribute, and, with jQuery filtering enabled by default, passing the user-supplied 'filter' option to jQuery().is(), which parses HTML-like strings as markup. This makes it possible for authenticated attackers with contributor-level access and above to inject arbitrary web scripts in pages that load the plugin's Isotope script (for example, pages containing a Masonry Image Gallery or Blog List block), which will execute whenever a user accesses an injected page.
References
- https://wpsec.com/vuln/WPSEC-2026-4406/
- https://plugins.svn.wordpress.org/qi-blocks/tags/1.5.6/
- https://wordpress.org/plugins/qi-blocks/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS