---
title: "CVE-2022-51021: NotificationX WordPress Plugin - SQL Injection"
description: "NotificationX plugin for WordPress < 2.3.12 contains an unauthenticated SQL injection caused by unsanitized array-form 'id' parameter in /wp-json/notificationx/v1/notification/{id}, letting remote attackers manipulate database queries, exploit requires knowledge of api_key derived from md5(home_url())."
url: https://panop.io/threat-heartbeat/CVE-2022-51021/
---

# CVE-2022-51021 NotificationX WordPress Plugin - SQL Injection

NotificationX plugin for WordPress < 2.3.12 contains an unauthenticated SQL injection caused by unsanitized array-form 'id' parameter in /wp-json/notificationx/v1/notification/{id}, letting remote attackers manipulate database queries, exploit requires knowledge of api\_key derived from md5(home\_url()).

CVSS base score 8.2 /10

High

CISA KEV

Exploited in the wild

Public exploit

None known

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2022-51021)

## Details

Type

SQL Injection

Impact

Information Disclosure, Data Tampering

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

Published

22 October 2026

Updated

23 October 2026

Weakness

[CWE-89](https://cwe.mitre.org/data/definitions/89.html)

## Vendor fix

Upgrade to version 2.3.12 or later.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2022-51021](https://nvd.nist.gov/vuln/detail/CVE-2022-51021)
- [https://www.cve.org/CVERecord?id=CVE-2022-51021](https://www.cve.org/CVERecord?id=CVE-2022-51021)
- [https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/wordpress/notificationx-sqli.yaml](https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/wordpress/notificationx-sqli.yaml)
- [https://wordpress.org/plugins/notificationx/](https://wordpress.org/plugins/notificationx/)
- [https://wpscan.com/vulnerability/d1480717-726d-4be2-95cb-1007a3f010bb](https://wpscan.com/vulnerability/d1480717-726d-4be2-95cb-1007a3f010bb)
- [https://www.vulncheck.com/advisories/notificationx-wordpress-plugin-2.3.12-unauthenticated-sql-injection-via-notification-rest-endpoint](https://www.vulncheck.com/advisories/notificationx-wordpress-plugin-2.3.12-unauthenticated-sql-injection-via-notification-rest-endpoint)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
