CVE-2026-118193
8.8 HIGHPublished 2026-11-05 · Updated 2026-11-05
AI risk analysis
- Summary
- The GiveWP plugin allows authenticated attackers with the Manager role (or higher) to escalate privileges by configuring donor registration to assign WordPress Administrator or other elevated roles via two flawed paths: a missing allowlist enforcement in the settings save path and a complete bypass of sanitization in the Tools > Import JSON AJAX handler.
- Exploitability
- Exploitation requires authenticated access with the GiveWP Manager role (or higher) holding the manage_give_settings capability; no public exploit exists, but the attack is straightforward for an insider threat or compromised low-privilege account.
- Blast radius
- If exploited, every newly created donor account could be assigned a privileged WordPress role, potentially granting attackers full site control via new accounts and enabling persistent backdoor access.
- Detection
- Monitor for changes to the donor_default_user_role setting value in the give_settings option that are not in the known safe roles list (e.g., 'administrator', 'editor'), especially when triggered via the wp_ajax_give_core_settings_import endpoint; also watch for JSON imports containing unexpected role assignments in donor registration settings.
- Prioritized remediation
- Upgrade to version 4.19.2 or later, where the plugin enforces the give_get_donor_safe_user_roles() allowlist in both the settings save and import paths.
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD description
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 vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-269
All references
- https://plugins.trac.wordpress.org/browser/give/tags/4.19.0/includes/admin/admin-actions.php#L971
- https://plugins.trac.wordpress.org/browser/give/tags/4.19.0/includes/admin/settings/class-settings-advanced.php#L436
- https://plugins.trac.wordpress.org/browser/give/tags/4.19.0/includes/process-donation.php#L1200
- https://plugins.trac.wordpress.org/browser/give/tags/4.19.0/src/Donors/Actions/CreateUserFromDonor.php#L23
- https://plugins.trac.wordpress.org/changeset/3782355/give/trunk/includes/admin/settings/class-settings-advanced.php
- https://www.wordfence.com/threat-intel/vulnerabilities/id/f2ab1544-2428-4c93-b973-8280ff7a2903?source=cve
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.
Related CVEs
- CRITICALCVE-2026-107622PoC
- HIGHCVE-2026-87784
- HIGHCVE-2026-104368
- CRITICALCVE-2026-110372
- HIGHCVE-2026-96532
- HIGHCVE-2026-103694
- HIGHCVE-2026-104012
- HIGHCVE-2026-104725PoC
Related by shared AI tags and CWE weakness class. Browse the full archive.