Ad

CVE-2026-118193

HIGH CVSS 3.1: 8,8 EPSS 0.59%
Обновлено 6 ноября 2026
WordPress
Параметр Значение
CVSS 8,8 (HIGH)
Тип уязвимости CWE-269 (Неправильное управление привилегиями)
Поставщик WordPress
Публичный эксплойт Нет

Плагины GiveWP Donation Plugin и Fundraising Platform для WordPress уязвимы для Privilege Escalation во всех версиях, включая 4.19.1, через параметр donor_default_user_role. Это связано с тем, что функция sanitize_option_donor_default_user_role() применяет только узкую буквенную проверку против строки 'administrator', а не применяет собственный список разрешений плагина give_get_donor_safe_user_roles() при сохранении, а из-за записи обработчика give_core_settings_import_callback()` AJAX импортировал JSON непосредственно в опцию give_settings через update_option() вообще не вызывая фильтр дезинфицирования. Это позволяет аутентифицированным злоумышленникам с ролью GiveWP Manager (с возможностью manage_give_settings) и выше настраивать регистрацию доноров для назначения привилегированных ролей WordPress - до Administrator включительно по пути импорта - каждой новой учетной записи донора, созданной через платформу.

Через путь сохранения настроек роль Administrator блокируется, но принимается любая другая повышенная роль (Editor, Author и т. Д.); через путь Tools Import JSON полностью обходит фильтр дезинфицирования, позволяя сохранять саму роль Administrator и впоследствии применять ее ко всем вновь зарегистрированным донорским счетам.

Показать оригинальное описание (EN)

The GiveWP – Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 4.19.1 via the `donor_default_user_role` parameter. This is due to the `sanitize_option_donor_default_user_role()` function applying only a narrow literal check against the string `'administrator'` rather than enforcing the plugin's own `give_get_donor_safe_user_roles()` allowlist on save, and due to the `give_core_settings_import_callback()` AJAX handler writing imported JSON directly into the `give_settings` option via `update_option()` without invoking the sanitize filter at all. This makes it possible for authenticated attackers with the GiveWP Manager role (holding the `manage_give_settings` capability) and above to configure donor registration to assign privileged WordPress roles — up to and including Administrator via the import path — to every new donor account created through the platform. Via the settings save path, the Administrator role is blocked but any other elevated role (Editor, Author, etc.) is accepted; via the Tools › Import JSON path, the sanitize filter is bypassed entirely, allowing the Administrator role itself to be stored and subsequently applied to all newly registered donor accounts.

Характеристики атаки

Способ атаки
По сети
Атака возможна удалённо
Сложность
Низкая
Легко эксплуатировать
Нужны права
Низкие
Нужны базовые права
Участие пользователя
Не требуется
Не нужно действие пользователя

Последствия

Конфиденциальность
Высокое
Полная утечка данных
Целостность
Высокое
Полная модификация данных
Доступность
Высокое
Полный отказ в обслуживании

Строка CVSS v3.1