← Back to search

CVE-2022-51021

8.2 HIGHpublic exploit available

Published 2026-10-22 · Updated 2026-10-23

AI risk analysis

Summary
The NotificationX WordPress plugin before 2.3.12 contains an unauthenticated SQL injection vulnerability in its REST API endpoint /wp-json/notificationx/v1/notification/{id}, where an attacker can supply a crafted array-form 'id' parameter to inject malicious SQL, leveraging an unsanitized api_key derived from the site's home URL.
Exploitability
Exploitation is straightforward for remote attackers as it requires no authentication or user interaction and only knowledge of the vulnerable endpoint and how to construct a time-based SQL injection payload.
Blast radius
Successful exploitation allows full read access to the underlying database, potentially exposing sensitive data such as user credentials, personal information, and site configuration, with possible secondary impact on integrity via data manipulation.
Detection
Defenders should monitor web server access logs for requests to /wp-json/notificationx/v1/notification/ containing array-form 'id' parameters (e.g., id[1]=...) and observe unusually long response times or repeated SLEEP() calls in SQL queries, which may indicate time-based SQL injection attempts.
Prioritized remediation
Upgrade to NotificationX version 2.3.12 or later, which patches the SQL injection flaw in the notification endpoint.
sql-injectionunauthenticatedwordpressrest-apitime-basedweb

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

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

CVSS vector

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

Weaknesses

CWE-89

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.