Cozy Blocks circle alignment lets Contributors store JavaScript
Cozy Blocks through 2.2.11 insufficiently sanitizes and escapes the layoutCircle.alignment block attribute. A Contributor can store JavaScript that executes whenever a visitor or Administrator views the affected block; the record does not disclose the request path or exact output context.
- Component
- Cozy Blocks – Page Builder for Gutenberg Editor & FSE with 700+ Patterns, 58 Blocks & Templates
- Plugin slug
cozy-addons- Affected
- <= 2.2.11
- Safe version
> 2.2.11- Published
- Aug 01, 2026
This CVE was published Aug 01, 2026 and is one of 8 known issues for this plugin.
Update, patch or deactivate.
Update to a corrected release after 2.2.11. Review layoutCircle.alignment values, remove payloads, and invalidate privileged sessions if affected pages were viewed.
A safe version is available, so updating to that version or later is the preferred remediation. If an immediate update is not practical, consider a targeted application patch or temporarily restricting the affected functionality.
Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.
Technical description
The Cozy Blocks – Page Builder for Gutenberg Editor & FSE with 600+ Patterns, 58 Blocks & Templates plugin for WordPress is vulnerable to Stored Cross-Site Scripting via 'layoutCircle.alignment' Block Attribute in all versions up to, and including, 2.2.11 due to insufficient input sanitization and output 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.
CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N