Плагин jQuery googleslides для WordPress уязвим к хранимому межсайтовому сценарию через шорткод «googleslides» во всех версиях до 1.3 включительно. Это связано с недостаточной очисткой ввода и экранированием вывода для предоставленных пользователем атрибутов (userid, albumid, authkey, imgmax, maxresults, random, caption, albumlink, time и Fadespeed) в функции googleslides_handler(), которая интерполирует значения атрибутов непосредственно в атрибуты HTML в одинарных кавычках без использования esc_attr(). Это позволяет злоумышленникам, прошедшим проверку подлинности, с доступом на уровне участника и выше, внедрять произвольные веб-скрипты на страницы, которые будут выполняться всякий раз, когда пользователь обращается к внедренной странице.
Показать оригинальное описание (EN)
The jQuery googleslides plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'googleslides' shortcode in all versions up to, and including, 1.3. This is due to insufficient input sanitization and output escaping on user supplied attributes (userid, albumid, authkey, imgmax, maxresults, random, caption, albumlink, time, and fadespeed) in the googleslides_handler() function, which interpolates the attribute values directly into single-quoted HTML attributes without using esc_attr(). 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