Critical GiveWP Donation Plugin Flaw Puts 100,000+ WordPress Sites at Risk of Remote Code Execution

Unpatched vulnerability allows unauthenticated attackers to execute arbitrary commands on hosting servers

edit
By LineZotpaper
Published
Read Time2 min
A maximum-severity vulnerability in the GiveWP WordPress donation plugin, tracked as CVE-2026-82222, enables unauthenticated attackers to execute arbitrary commands on affected hosting servers, putting over 100,000 websites at risk. The flaw, reported by researcher Udin Chan via Patchstack, affects GiveWP through version 4.16.7.1 and was patched in version 4.16.7.2 released on August 27.

A critical security vulnerability has been discovered in the GiveWP plugin for WordPress, a widely used tool for collecting donations and managing fundraising campaigns. The flaw, designated CVE-2026-82222, allows an unauthenticated attacker to execute arbitrary commands on the hosting server, potentially compromising the entire site.

According to Patchstack researchers, exploitation involves chaining three distinct issues: an unsafe helper for unserializing PHP data, a donation-processing flow that stores attacker-controlled serialized objects, and a gadget chain in libraries bundled with the plugin that can invoke arbitrary system commands.

Crucially, while successful exploitation typically requires an attacker to have an account on the target site, Patchstack notes that GiveWP exposes an unauthenticated registration action—give_action=user_register—that never consults WordPress's users_can_register option. "Even on a site that has registration disabled, the attacker can create an account and receive an authentication cookie, then carry out the rest of the attack in the same sequence," Patchstack explains.

Once authenticated, hackers can store a malicious serialized object in their profile and inject it into the plugin's session database by submitting a crafted donation. "The server writes the gadget object into wp_give_sessions before returning an HTTP 500," said George Johnstone, cybersecurity researcher at Patchstack. By requesting any front-end page with the authentication cookie, the server unserializes the gadget and executes the command from the attacker.

Versions 4.16.6 through 4.16.7.1 remain vulnerable, though exploitation requires the site to contain a legacy donation form without 'formBuilderSettings.' Patchstack notes such conditions may exist in upgraded installations, sites using the plugin's option-based form editor, or when importing or restoring older forms.

GiveWP fixed the vulnerability in version 4.16.7.2 by blocking serialized data during donation processing and restricting object creation at several deserialization points. The update also removes serialized object payloads already stored in affected databases.

However, Patchstack observes that GiveWP's registration action still does not honor WordPress user registration settings, though this issue is no longer exploitable for code execution.

Website administrators using GiveWP are urged to apply the security updates as soon as possible to prevent malicious exploitation of CVE-2026-82222.

§

Analysis

Why This Matters

  • The vulnerability affects over 100,000 WordPress sites that rely on GiveWP for fundraising, exposing them to full server compromise.
  • Attackers can create accounts even on sites with registration disabled, bypassing a common security expectation.
  • The flaw allows remote code execution, which could lead to data breaches, site defacement, or malware distribution.

Background

GiveWP is a popular WordPress plugin used by nonprofit organizations, charities, and other entities to collect donations and manage fundraising campaigns. With more than 100,000 active installs, it is a prime target for attackers. WordPress plugins are frequently exploited, and donation-related plugins are particularly attractive due to the financial data they handle. The vulnerability was reported through Patchstack, a vulnerability intelligence platform, and patched within a month. The flaw involves deserialization, a common attack vector in PHP applications.

Key Perspectives

WordPress Site Administrators: They face an urgent need to update the GiveWP plugin to version 4.16.7.2 to patch the critical vulnerability. Failure to do so could result in site compromise and potential data theft.

GiveWP Developers: The plugin's developers have released a security update that addresses the deserialization issues and removes existing malicious payloads. However, the registration action bypass remains, though it is no longer exploitable for code execution.

Security Researchers at Patchstack: They discovered and reported the vulnerability, emphasizing that the attack chain is feasible even on sites with registration disabled. They highlight the importance of restricting serialized data in donation processing.

What to Watch

  • Whether attackers begin exploiting the vulnerability in unpatched sites, especially given the public disclosure of technical details.
  • Potential follow-up vulnerabilities if the registration action bypass remains unaddressed.
  • Adoption rate of the security update among GiveWP users, particularly for legacy donation forms.

Sources

newspaper

Zotpaper

Articles published under the Zotpaper byline are synthesized from multiple source publications by our AI editor and reviewed by our editorial process. Each story combines reporting from credible outlets to give readers a balanced, comprehensive view.