GiveWP donation plugin (CVE-2024-5932): remote code execution through a donation form

A PHP object injection in a popular donation plugin let unauthenticated attackers run code and delete files. What site owners should do.

Publicly disclosed: 20 August 2024

GiveWP is a widely used WordPress plugin for online donations and fundraising. A flaw in how it processed one of the donation form fields allowed an unauthenticated attacker to inject a PHP object and, through code already present in the plugin, execute commands on the server or delete files.

CVESeverityAffectedFixed in
CVE-2024-5932Critical, CVSS 9.8–10.0 (PHP object injection, remote code execution)GiveWP up to 3.14.13.14.2 and later

How to protect a WordPress site

  1. Turn on automatic updates for plugins, or check updates at least weekly — most mass attacks start within days of a fix.
  2. Remove plugins and themes you do not use; install only from the official directory or the vendor.
  3. Use a web application firewall (WAF) or a security plugin with virtual patching.
  4. Use MFA for administrators and check the user list for unknown admin accounts.
  5. Keep off-site backups of files and the database.

Forms that accept data from anonymous visitors — donations, orders, registrations — are the first place attackers look. Keep the plugins behind them especially up to date.

Sources: NVD CVE-2024-5932.

Need help with this? Contact CySec for a free consultation.


All articles

Need help with this?

Our engineers can review your current setup and propose concrete improvements.