Cozy Blocks – Website Builder & Business Growth Toolkit | Popups, Lead Forms & Inbox <= 2.2.30 - Authenticated (Contributor+) Stored Cross-Site Scripting via Advanced Gallery Block Tab Attributes

Medium 6.4 CWE-79Fixed in 2.2.31
ID
WPSEC-2026-4389
Plugin
Cozy Blocks – Website Builder & Business Growth Toolkit | Popups, Lead Forms & Inbox (cozy-addons)
Affected
from 2.0.11 before 2.2.31
Remediation
Update to 2.2.31 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 Low · Affected versions Low among sites WPSec scans, 2026-12-03
Attack surface
Cozy Blocks – Website Builder & Business Growth Toolkit | Popups, Lead Forms & Inbox on WPSec AttackSurface
Fix released
Published

Description

The Cozy Blocks plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Advanced Gallery block's tab list attributes (tabsList) in all versions from 2.0.11 up to, and including, 2.2.30, due to insufficient output escaping. Each tab's id, and its index key, is printed into the data-slug and data-index HTML attributes of the gallery tab list without escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

References

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

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

License: CC BY 4.0