critical CVSS 9.8

CVE-2025-0912·PHP vulnerability

The Donations Widget plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 3.19.4 via deserialization of untrusted input from the Donation Form through the 'card_address' parameter. This makes it possible for unauthenticated attackers to inject a PHP Object. The additional presence of a POP chain allows attackers to achieve remote code execution.

Severity
critical
Software
PHP
Fixed in
3.20.0
Published
2025-03-04

Affected versions

Until: 3.20.0

Fixed in: 3.20.0

How to fix this CVE

Update the Donations Widget plugin for WordPress (GiveWP) to version 3.20.0 or later to patch the PHP object injection vulnerability in the donation form processing. If you are running PHP with this plugin, immediately upgrade to the patched version to prevent unauthenticated attackers from executing arbitrary code through maliciously crafted donation requests. Review your site's access logs for suspicious donation form submissions during the window before patching.

sudo dnf check-update php && sudo dnf upgrade php

Defensia detects this vulnerability

What an exploitation attempt looks like

Sample log line indicative of exploitation attempts:

POST requests to /wp-admin/admin-ajax.php or donation form endpoints containing serialized PHP objects in the 'card_address' parameter with patterns like 'O:[0-9]+:"' or 'a:[0-9]+:{' followed by object property declarations

WAF mitigation (if patching is not yet possible)

Add this rule to your WAF to block exploitation attempts while you schedule the patch.

Block or sanitize POST requests to donation form handlers that contain PHP serialization markers (O:, C:, R:, a:, s:) in the card_address, billing_address, or similar form fields. Implement input validation to reject any data that resembles serialized PHP objects before it reaches the application.

How to check if you are affected

  1. Step 1: Check installed WordPress plugin version with: grep -r "Version:" /var/www/html/wp-content/plugins/give/give.php | head -1
  2. Step 2: Verify GiveWP plugin is active by checking wp-cli: wp plugin list | grep give
  3. Step 3: Search web server logs for POST requests to donation forms with 'card_address' parameters: grep -i 'card_address' /var/log/apache2/access.log /var/log/nginx/access.log 2>/dev/null | head -20
  4. Step 4: After updating to version 3.20.0+, confirm the patch by checking plugin version again and reviewing the changelog at plugins.trac.wordpress.org

FAQ

What is CVE-2025-0912?

This vulnerability is a PHP object injection flaw in the GiveWP Donations Widget plugin that allows attackers to deserialize untrusted data from donation form submissions, potentially leading to remote code execution through PHP's magic methods and gadget chains.

Is CVE-2025-0912 being actively exploited?

No, this vulnerability is not currently listed on the CISA KEV catalog and no public exploits have been disclosed, but the critical CVSS score of 9.8 means patches should be applied immediately.

What versions of the Donations Widget plugin are affected by CVE-2025-0912?

All versions of GiveWP up to and including 3.19.4 are vulnerable. Version 3.20.0 and later contain the fix.

How do I check if my WordPress site is vulnerable to CVE-2025-0912?

Run: wp plugin list | grep -i give to identify the plugin, then check its version number against 3.19.4. If your version is 3.19.4 or earlier, you are vulnerable and must upgrade immediately.

Does Defensia detect CVE-2025-0912?

Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the GiveWP plugin or PHP is installed on a monitored WordPress server, CVE-2025-0912 will appear in your dashboard with remediation steps.

Related PHP CVEs

CVE-2025-25174CVSS 10Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in beeteam368 BeeTeam368 Extensions beeteam368-extensions allows PHP Local File Inclusion.This issue affects BeeTeam368 Extensions: from n/a through <= 1.9.4.
CVE-2024-5932CVSS 10The GiveWP – Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 3.14.1 via deserialization of untrusted input from the 'give_title' parameter. This makes it possible for unauthenticated attackers to inject a PHP Object. The additional presence of a POP chain allows attackers to execute code remotely, and to delete arbitrary files.
CVE-2026-39337CVSS 10ChurchCRM is an open-source church management system. Prior to 7.1.0, critical pre-authentication remote code execution vulnerability in ChurchCRM's setup wizard allows unauthenticated attackers to inject arbitrary PHP code during the initial installation process, leading to complete server compromise. The "$dbPassword" variable is not sanitized. This vulnerability exists due to an incomplete fix for CVE-2025-62521. This vulnerability is fixed in 7.1.0.
CVE-2025-62521CVSS 10ChurchCRM is an open-source church management system. Prior to version 5.21.0, a pre-authentication remote code execution vulnerability in ChurchCRM's setup wizard allows unauthenticated attackers to inject arbitrary PHP code during the initial installation process, leading to complete server compromise. The vulnerability exists in `setup/routes/setup.php` where user input from the setup form is directly concatenated into a PHP configuration template without any validation or sanitization. Any parameter in the setup form can be used to inject PHP code that gets written to `Include/Config.php`, which is then executed on every page load. This is more severe than typical authenticated RCE vulnerabilities because it requires no credentials and affects the installation process that administrators must complete. Version 5.21.0 patches the issue.
CVE-2025-46348CVSS 10YesWiki is a wiki system written in PHP. Prior to version 4.5.4, the request to commence a site backup can be performed and downloaded without authentication. The archives are created with a predictable filename, so a malicious user could create and download an archive without being authenticated. This could result in a malicious attacker making numerous requests to create archives and fill up the file system, or by downloading the archive which contains sensitive site information. This issue has been patched in version 4.5.4.

References

Track CVEs across your fleet automatically

Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2025-0912. Free for 1 server.

Get started free