CVE-2026-118193

GiveWP <= 4.19.1 - Authenticated (Custom+) Privilege Escalation to 'donor_default_user_role' Parameter

Published Nov 5, 2026 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability arises from the GiveWP plugin’s donor_default_user_role field being sanitized with a narrow literal check that only allows the string 'administrator', while the plugin’s own allowlist is not enforced during option save or when importing settings. An authenticated user holding the GiveWP Manager role, which has the manage_give_settings capability, can set this parameter to any WordPress role, creating new donor accounts with elevated privileges. The import pathway further bypasses all sanitization, allowing the Administrator role itself to be stored and subsequently assigned to all newly registered donor accounts. This means an attacker can legally elevate their privileges on the site from a Manager or higher role to an editor, author, or even administrator without needing to compromise the WordPress core.

Affected Systems

The flaw exists in the StellarWP GiveWP – Donation Plugin and Fundraising Platform, on all releases up to and including version 4.19.1. Any WordPress installation that has this plugin installed in a version within that range is susceptible.

Risk and Exploitability

The CVSS score of 8.8 classifies this flaw as high severity. While the EPSS score is not available, the vulnerability remains exploitable for any user who can log in with a role that can modify GiveWP settings. The vulnerability is not listed in CISA’s KEV catalog, but its impact is severe: an attacker can continuously add high‑privilege WordPress users, effectively taking full control of the site’s administrative functions. The attack vector is authenticated and uses the plugin’s legitimate configuration and import interfaces, making detection and mitigation straightforward once a patch is applied.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade GiveWP to the latest release that enforces the allowlist check for donor_default_user_role
  • Restrict the give_settings modification capability so that only true WordPress administrators can change donor role settings
  • Disable or restrict the import JSON feature, or ensure that imported settings are fully sanitized before being stored
  • If a patch is not immediately available, block donor registration or force the default role to be a low‑privilege role until a fix can be applied

Generated by OpenCVE AI on November 5, 2026 at 06:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Stellarwp
Stellarwp givewp
Wordpress-extensions
Wordpress-extensions givewp
Vendors & Products Stellarwp
Stellarwp givewp
Wordpress-extensions
Wordpress-extensions givewp
Type Values Removed Values Added
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.
Title GiveWP <= 4.19.1 - Authenticated (Custom+) Privilege Escalation to 'donor_default_user_role' Parameter
Weaknesses CWE-269
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-269

    Improper Privilege Management

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Nov 5, 2026, 8:40 PM
Reserved
Oct 27, 2026, 6:56 PM
Status
Deferred
Published
Nov 5, 2026, 5:18 AM
Modified
Nov 5, 2026, 9:18 PM