Vulnerabilities / Cozy Blocks – Website Builder for WordPress Block Editor | Gutenberg Blocks, Patterns & Templates / WPSEC-2026-1231
Cozy Blocks – Website Builder for WordPress Block Editor | Gutenberg Blocks, Patterns & Templates <= 2.2.27 - Authenticated (Contributor+) Stored Cross-Site Scripting via Featured Product Tabs Block Icon Attributes
Medium 6.4
CWE-79Fixed in 2.2.28
- ID
- WPSEC-2026-1231
- Plugin
- Cozy Blocks – Website Builder & Business Growth Toolkit | Popups, Lead Forms & Inbox (cozy-addons)
- Affected
- all versions before 2.2.28
- Remediation
- Update to 2.2.28 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-10-18
- Attack surface
- Cozy Blocks – Website Builder for WordPress Block Editor | Gutenberg Blocks, Patterns & Templates on WPSec AttackSurface
- Fix released
- Published
Description
The Cozy Blocks plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Featured Product Tabs block's icon attributes ('gap', 'view' and 'layout') in all versions up to, and including, 2.2.27 due to insufficient input sanitization and output escaping. The values are written directly into HTML style and class attributes. 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
- https://wpsec.com/vuln/WPSEC-2026-1231/
- https://plugins.svn.wordpress.org/cozy-addons/tags/2.2.28/
- https://wordpress.org/plugins/cozy-addons/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS