Katalog CVE

CVE-2026-118193

WysokieCVSS 8.8
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.40%

Percentyl 34 - wyżej niż 34% wszystkich znanych CVE

Streszczenie

Wtyczka GiveWP dla WordPressa w wersjach do 4.19.1 włącznie jest podatna na eskalację uprawnień poprzez parametr donor_default_user_role. Funkcja sanitize_option_donor_default_user_role() stosuje jedynie wąskie sprawdzenie literału 'administrator' zamiast egzekwować własną listę dozwolonych ról give_get_donor_safe_user_roles(), a handler AJAX give_core_settings_import_callback() zapisuje importowany JSON bezpośrednio do opcji give_settings przez update_option() z pominięciem filtra sanityzacji.

Ocena ryzyka

Uwierzytelniony atakujący z rolą GiveWP Manager lub wyższą może skonfigurować rejestrację darczyńców tak, aby każdemu nowemu kontu darczyńcy przypisywać uprzywilejowane role WordPress, w tym Administratora poprzez ścieżkę importu. Prowadzi to do pełnego przejęcia witryny.

Rekomendacja

Zaktualizować wtyczkę GiveWP do wersji nowszej niż 4.19.1. Do czasu poprawki ograniczyć rolę GiveWP Manager do zaufanych użytkowników i wyłączyć import ustawień JSON z niezaufanych źródeł.

Inne podatności w GiveWP

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

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.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS