CVE Catalog

CVE-2026-109978

MediumCVSS 6.4
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.24%

16th percentile - higher than 16% of all known CVEs

Summary

The Cozy Blocks plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'productRating.iconColor' parameter in versions up to and including 2.2.27 due to insufficient input sanitization and output escaping. An authenticated attacker with Contributor-level access or higher can inject arbitrary web scripts that execute when a user visits the 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.

Risk Assessment

An attacker with a Contributor account can execute arbitrary JavaScript in the browser of an administrator or other users, potentially leading to session hijacking or unauthorized actions within the site context.

Recommendation

Update the Cozy Blocks plugin to a version later than 2.2.27; if not possible, restrict Contributor privileges and disable the productRating option until the fix is applied.

Other vulnerabilities in Cozy Blocks WordPress plugin

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS