CVE-2022-51021 NotificationX WordPress Plugin < 2.3.12 Unauthenticated SQL Injection via notification REST endpoint
- Exploited in the wild
- Not known
- Fix
- None listed
What is CVE-2022-51021?
CVE-2022-51021 is a high-severity vulnerability in WPDeveloper NotificationX, published on 22 Oct 2026.
Official description
NotificationX plugin for WordPress 2.0.0 before 2.3.12 contains an unauthenticated SQL injection vulnerability that allows remote attackers to manipulate database queries by supplying an array-form 'id' parameter to /wp-json/notificationx/v1/notification/{id}. Attackers can pass id[1] with crafted SQL, such as time-based SLEEP payloads, along with an api_key derived from md5(home_url()), which flows unsanitized into Database::get_where_query to extract database contents. Exploitation evidence was first observed by the Shadowserver Foundation on 2023-10-18.
Weakness: CWE-89
Which versions are affected by CVE-2022-51021?
How do I fix CVE-2022-51021?
No fix has been published for CVE-2022-51021 yet. Limit exposure of the affected software until one is available.
Is CVE-2022-51021 being exploited?
There is no known exploitation of CVE-2022-51021 in the wild and no public exploit code.
Sources
Also known as GHSA-ch24-62hg-vfpg.