WordPress Plugin Vulnerabilities

Cozy Blocks < 2.2.28 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'productRating.iconColor' Block Attribute

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 'productRating.iconColor' 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. The vulnerable code path is only reached when the productRating option is enabled and the associated WooCommerce product has a non-zero rating.

Affects Plugins

Fixed in 2.2.28

References

Classification

Type
XSS
CWE

Miscellaneous

Original Researcher
Wordfence PRISM
Verified
No

Timeline

Publicly Published
2026-10-27 (about 26 days ago)
Added
2026-10-27 (about 25 days ago)
Last Updated
2026-10-28 (about 25 days ago)

Other