Cozy Blocks <= 2.2.27 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'icon.view' Block Attribute
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
The Cozy Blocks plugin for WordPress, which adds Gutenberg blocks, patterns, and templates to the block editor, is affected by this flaw. An attacker with contributor-level access or higher can save crafted block content that runs malicious scripts in the browser of anyone who views the affected page, potentially allowing account takeover or actions performed as the visitor.
Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.
Read the original description
The Cozy Blocks – Website Builder for WordPress Block Editor | Gutenberg Blocks, Patterns & Templates plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'content (block attribute icon.view / icon.layout / icon.gap)' parameter in all versions up to, and including, 2.2.27 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. Although wp_kses_post is applied on save, it does not neutralize a quote-only attribute-breakout payload containing no '<' character, leaving the block comment and its decoded JSON attributes intact and exploitable at render time.
Timeline
- CVE published
- First seen by cve.now
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- cozythemes Cozy Blocks – Website Builder & Business Growth Toolkit | Popups, Lead Forms & Inbox
through 2.2.27
References 7
plugins.trac.wordpress.org
- browser/cozy-addons/tags/2.2.27/blocks/featured-product-tabs/render.php#L929
- browser/cozy-addons/tags/2.2.27/blocks/featured-product-tabs/render.php#L927
- browser/cozy-addons/tags/2.2.27/blocks/featured-product-tabs/render.php#L935
- browser/cozy-addons/tags/2.2.27/blocks/featured-product-tabs/render.php#L943
- browser/cozy-addons/tags/2.2.27/blocks/featured-product-tabs/block.json#L777
- changeset?reponame=&old=3752142%40cozy-addons&new=3752142%40cozy-addons