Плагин Redux Framework для WordPress уязвим для Stored Cross-Site Scripting через параметр «<opt_name>[<color-field-id>» во всех версиях вплоть до, включая, 4.5.17 из-за недостаточной санации ввода и выхода. Это позволяет аутентифицированным злоумышленникам с доступом на уровне абонента и выше вводить произвольные веб-скрипты на страницах, которые будут выполняться всякий раз, когда пользователь получает доступ к введенной странице. The wp_kses_post() sanitization applied via Redux_Helpers::sanitize_array() is bypassed — not broken — because an <a class="thickbox" title="&lt;img onerror=...&gt;"> payload uses only kses-allowed tags and attributes, with the entity-encoded onerror handler surviving storage as inert text that the browser decodes when WordPress core's thickbox.js reads the title attribute and writes it into the modal as HTML.
Успешная эксплуатация также требует действий администратора — злоумышленник не может запустить уязвимость самостоятельно.
Показать оригинальное описание (EN)
The Redux Framework plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the '<opt_name>[<color-field-id>]' parameter in all versions up to, and including, 4.5.17 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The wp_kses_post() sanitization applied via Redux_Helpers::sanitize_array() is bypassed — not broken — because an <a class="thickbox" title="&lt;img onerror=...&gt;"> payload uses only kses-allowed tags and attributes, with the entity-encoded onerror handler surviving storage as inert text that the browser decodes when WordPress core's thickbox.js reads the title attribute and writes it into the modal as HTML. Successful exploitation additionally requires an action by an administrator — the attacker cannot trigger the vulnerability on their own.
Характеристики атаки
Последствия
Строка CVSS v3.1