Плагин Express Payment For Stripe для WordPress уязвим к хранимым межсайтовым сценариям через атрибут type короткого кода [stripe-express] в версиях до 1.28.0 включительно. Это связано с недостаточной очисткой ввода и экранированием вывода значения атрибута короткого кода, которое объединяется в атрибут HTML в отображаемом выводе функции Register_shortcode() без передачи через esc_attr() или любую другую функцию экранирования. Это позволяет злоумышленникам, прошедшим проверку подлинности, с доступом на уровне участника и выше, внедрять произвольные веб-скрипты на страницы, которые будут выполняться всякий раз, когда пользователь обращается к внедренной странице.
Показать оригинальное описание (EN)
The Express Payment For Stripe plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'type' attribute of the [stripe-express] shortcode in versions up to, and including, 1.28.0. This is due to insufficient input sanitization and output escaping on the shortcode attribute value, which is concatenated into an HTML attribute in the rendered output of the register_shortcode() function without being passed through esc_attr() or any other escaping function. 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.
Характеристики атаки
Последствия
Строка CVSS v3.1