Cozy Blocks Website Builder for WordPress Block Editor Gutenberg Blocks, плагин Patterns & Templates для WordPress уязвим для Stored Cross-Site Scripting через параметр 'productRating.iconColor' во всех версиях вплоть до, включая, 2.2.27 из-за недостаточной санации ввода и выхода вывода. Это позволяет аутентифицированным злоумышленникам, с доступом уровня участника и выше, вводить произвольные веб-скрипты на страницах, которые будут выполняться всякий раз, когда пользователь получает доступ к введенной странице. Уязвимый путь кода достигается только тогда, когда включена опция productRating, а соответствующий продукт WooCommerce имеет ненулевой рейтинг.
Показать оригинальное описание (EN)
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.
Характеристики атаки
Последствия
Строка CVSS v3.1