CVE-2022-51021
8.2 HIGHpublic exploit availablePublished 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.
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
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/wordpress/notificationx-sqli.yaml
- https://wordpress.org/plugins/notificationx/
- 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
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.
Related CVEs
- HIGHCVE-2024-58393PoC
- HIGHCVE-2026-109925
- HIGHCVE-2026-89288
- HIGHCVE-2026-92997
- HIGHCVE-2026-92998
- HIGHCVE-2015-20122
- HIGHCVE-2022-4997
- HIGHCVE-2022-51023PoC
Related by shared AI tags and CWE weakness class. Browse the full archive.