Security
CVE-2026-118193: GiveWP through 4.19.1 allows authenticated privilege escalation via donor_default_user_role parameter
A published CVE reports that the GiveWP WordPress donation plugin through version 4.19.1 lets authenticated users with the GiveWP Manager role assign privileged WordPress roles, up to Administrator, to new donor accounts. The advisory recommends updating to version 4.19.2 or later.
A vulnerability record published on cvefeed.io describes CVE-2026-118193, a privilege escalation flaw in the GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress. According to the record, the issue affects all versions up to and including 4.19.1 and is reachable through the donor_default_user_role parameter. The record lists a CVSS 3.1 severity of HIGH and states that the vulnerability is remotely exploitable.
The record attributes the flaw to two mechanisms. First, the sanitize_option_donor_default_user_role() function applies "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." Second, the give_core_settings_import_callback() AJAX handler writes imported JSON directly into the give_settings option via update_option() "without invoking the sanitize filter at all."
The record states that authenticated attackers with the GiveWP Manager role, which holds the manage_give_settings capability, and above can configure donor registration to assign privileged WordPress roles to every new donor account. Via the settings save path, the Administrator role is blocked but other elevated roles such as Editor and Author are accepted. Via the Tools › Import JSON path, the record says the sanitize filter is bypassed entirely, allowing the Administrator role to be stored and applied to newly registered donor accounts.
The record gives a published date of Nov. 5, 2026, 5:18 a.m., with a last modified time of Nov. 5, 2026, 9:18 p.m. It lists CWE-269 among the associated weaknesses and includes a CISA Coordinator SSVC entry dated 2026-11-05T20:39:42Z recording exploitation as "none" and automatable as "no."
The listed solution is to update the GiveWP plugin to version 4.19.2 or later, review current user role assignments for donors, verify sanitization of the donor_default_user_role parameter, and ensure AJAX handlers properly invoke sanitization filters. The record also references a changeset in the plugin's repository and a Wordfence threat-intel entry.
Analysis: for people who build AI agents, the record is a reminder that a guard which checks one literal value is not an allowlist, and that a second write path which skips the guard entirely can undo the first. Permission checks belong at the point where a value is stored, not only at the form that submits it.
Claims and evidence
What the author claims, and what backs it up. Key claims are the ones the story depends on.
-
The sanitize function applies only a literal check against the string 'administrator' rather than enforcing the plugin's own safe-roles allowlist on save.
Key claim
Supported
-
quote
https://cvefeed.io/vuln/detail/CVE-2026-118193“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”
-
quote
-
The import AJAX handler writes imported JSON into the give_settings option via update_option() without invoking the sanitize filter.
Key claim
Supported
-
quote
https://cvefeed.io/vuln/detail/CVE-2026-118193“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.”
-
quote
-
Via the settings save path, the Administrator role is blocked but other elevated roles such as Editor and Author are accepted.
Key claim
Supported
-
quote
https://cvefeed.io/vuln/detail/CVE-2026-118193“Via the settings save path, the Administrator role is blocked but any other elevated role (Editor, Author, etc.) is accepted”
-
quote
-
Via the Tools Import JSON path, the sanitize filter is bypassed entirely, allowing the Administrator role to be stored and applied to newly registered donor accounts.
Key claim
Supported
-
quote
https://cvefeed.io/vuln/detail/CVE-2026-118193“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.”
-
quote
-
The record's published date is Nov. 5, 2026, 5:18 a.m.
Partial
-
quote
https://cvefeed.io/vuln/detail/CVE-2026-118193“Published Date: Nov. 5, 2026, 5:18 a.m.”
-
quote
-
The listed solution is to update the GiveWP plugin to version 4.19.2 or later.
Key claim
Supported
-
quote
https://cvefeed.io/vuln/detail/CVE-2026-118193“Update GiveWP plugin to version 4.19.2 or later.”
-
quote