Cozy Blocks contributors can store script in post metadata icons
Cozy Blocks through 2.2.11 fails to escape the postMeta.font.size block attribute when Cozy\Helpers\BlockRender::categorized_post_tabs_render() inserts it into SVG width and height attributes. A Contributor who can author a categorized-post-tabs block can supply crafted attribute content that becomes executable markup when the post is rendered, causing script to run for visitors to the affected page. The CNA record does not identify additional affected blocks. Version 2.2.12 escapes the attribute at each SVG output location.
- Component
- Cozy Blocks – Page Builder for Gutenberg Editor & FSE with 600+ Patterns, 58 Blocks & Templates
- Plugin slug
cozy-addons- Affected
- <= 2.2.11
- Safe version
2.2.12- Published
- Jul 28, 2026
This CVE was published Jul 28, 2026 and is one of 7 known issues for this plugin.
Update, patch or deactivate.
Update Cozy Blocks to 2.2.12 or later. Review Contributor-authored categorized-post-tabs blocks and post revisions for unexpected postMeta.font.size values, and investigate privileged users who viewed affected pages.
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 'postMeta.font.size' 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
Primary and upstream sources
- NVD record for CVE-2026-15393
- WordPress upstream reference plugins.trac.wordpress.org
- WordPress upstream reference plugins.trac.wordpress.org
- WordPress upstream reference plugins.trac.wordpress.org
- WordPress upstream reference plugins.trac.wordpress.org
- WordPress upstream reference plugins.trac.wordpress.org
- WordPress upstream reference plugins.trac.wordpress.org
- WordPress upstream reference plugins.trac.wordpress.org
- WordPress upstream reference plugins.trac.wordpress.org
- WordPress upstream reference plugins.trac.wordpress.org
- WordPress upstream reference plugins.trac.wordpress.org
- WordPress upstream reference plugins.trac.wordpress.org
- WordPress upstream reference plugins.trac.wordpress.org
- WordPress upstream reference plugins.trac.wordpress.org
- WordPress upstream reference plugins.trac.wordpress.org
- WordPress upstream reference plugins.trac.wordpress.org
- Wordfence advisory wordfence.com