---
id: CVE-2022-51021
title: >-
  NotificationX WordPress Plugin < 2.3.12 Unauthenticated SQL Injection via
  notification REST endpoint
summary: >-
  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/notification…
severity: high
cvss: 8.2
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N'
cvssSource: cna
cwe:
  - CWE-89
vendor: WPDeveloper
product: NotificationX
affected:
  - NotificationX >= 2.0.0 < 2.3.12
published: '2026-10-22'
updated: '2026-10-22'
sourceUpdated: '2026-10-22T10:57:32.517Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2022-51021'
references:
  - url: 'https://wpscan.com/vulnerability/d1480717-726d-4be2-95cb-1007a3f010bb'
    label: WPScan d1480717
  - url: >-
      https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/wordpress/notificationx-sqli.yaml
    label: Nuclei Template
  - url: 'https://wordpress.org/plugins/notificationx/'
    label: WordPress Download Page
  - url: >-
      https://www.vulncheck.com/advisories/notificationx-wordpress-plugin-2.3.12-unauthenticated-sql-injection-via-notification-rest-endpoint
    label: >-
      VulnCheck Advisory: NotificationX WordPress Plugin < 2.3.12
      Unauthenticated SQL Injection via notification REST endpoint
tags:
  - cve.org
ingestedAt: '2026-10-22T11:37:02.342Z'
---

## Overview

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

- `NotificationX >= 2.0.0 < 2.3.12`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
