# CVE-2022-51021: NotificationX WordPress Plugin \< 2.3.12 Unauthenticated SQL Injection via notification REST endpoint

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: High; Integrity impact: Low; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.51% (percentile 37, 2026-11-28)
- **CWE:** CWE-89
- **Published:** 2026-10-22T10:57:32.517Z
- **Modified:** 2026-11-10T12:10:00.177Z

## Who should check

- Anyone running WPDeveloper NotificationX \>= 2.0.0, \< 2.3.12

## 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.

## Affected and fixed versions

- WPDeveloper NotificationX: \>= 2.0.0, \< 2.3.12 (cvelist)

## Mitigation

- Upgrade NotificationX to 2.3.12 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-51021. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-51021.md
Affected: WPDeveloper NotificationX >= 2.0.0, < 2.3.12
Fixed in: WPDeveloper NotificationX 2.3.12

Steps:
1. Search this machine and project for WPDeveloper NotificationX: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-51021 being exploited?

There is no confirmed exploitation: CVE-2022-51021 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.51% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2022-51021?

High: CVSS 8.8 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2022-51021?

WPDeveloper NotificationX \>= 2.0.0, \< 2.3.12.

### Is there a fix for CVE-2022-51021?

Yes. Fixed in WPDeveloper NotificationX 2.3.12. Upgrade NotificationX to 2.3.12 or later.

### How do I check if I'm affected by CVE-2022-51021?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- article: <https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/wordpress/notificationx-sqli.yaml>
- other: <https://wpscan.com/vulnerability/d1480717-726d-4be2-95cb-1007a3f010bb>
- other: <https://wordpress.org/plugins/notificationx/>
- other: <https://www.vulncheck.com/advisories/notificationx-wordpress-plugin-2.3.12-unauthenticated-sql-injection-via-notification-rest-endpoint>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-51021>

HTML: <https://flawdb.com/CVE-2022-51021> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-51021>
