CVE-2022-0782: The Donations WordPress plugin through 1.8 does not sanitise and escape the nd_donations_id parameter before u
CVE-2022-0782 is a critical-severity flaw (CVSS 9.8) affecting donations. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
The Donations WordPress plugin through 1.8 does not sanitise and escape the nd_donations_id parameter before using it in a SQL statement via the nd_donations_single_cause_form_validate_fields_php_function AJAX action (available to unauthenticated users), leading to an unauthenticated SQL Injection
Why this priority
- Critical severity
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.7% (top 22%) |
| CISA exploited list | No |
| Weakness | CWE-89 |
| Published | 2022-04-25 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-0782?
donations: upgrade to newer than 1.8. Exact commands for each OS are on this page.
Is CVE-2022-0782 being exploited?
CVE-2022-0782 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-0782 affect?
CVE-2022-0782 affects donations. Severity is critical (CVSS 9.8). The Donations WordPress plugin through 1.8 does not sanitise and escape the nd_donations_id parameter before using it in a SQL statement via the nd_donations_single_cause_form_validate_fields_php_function AJAX action (available to unauthent
How urgent is CVE-2022-0782?
Priority 64/100. Critical severity; Public exploit reference; Remotely exploitable, no login, no user action
Software pages
WordPress vulnerabilities · PHP vulnerabilities
Related CVEs
- CVE-2025-13001 MEDIUM 4.1 UPGRADE The donation WordPress plugin through 1.0 does not sanitize and escape a parameter before using it in a SQL st
- CVE-2022-29433 MEDIUM 4.1 UPGRADE Authenticated (contributor or higher role) Cross-Site Scripting (XSS) vulnerability in Donations plugin <= 1.8