{"id":"CVE-2022-51021","kind":"vulnerability","aliases":["CVE-2022-51021"],"related":[],"title":"NotificationX WordPress plugin: unauthenticated SQL injection leaks database contents","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.","summary":"NotificationX, a WordPress notification plugin, lets remote attackers inject SQL through the id parameter of its REST endpoint without logging in. An attacker can read database contents, including site credentials, and the sources report exploitation observed in October 2023.","severity":"high","cvss":8.8,"epss":0.00377,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["notificationx","package","self-hosted","wordpress"],"not_affected_if":["managed-hosting","plugin-not-installed"],"how_to_check":"Check the installed NotificationX version in the WordPress plugins screen or the plugin's readme.txt; versions 2.0.0 through 2.3.11 are affected.","fix":"Update the NotificationX plugin to 2.3.12 or later; if that is not possible, deactivate and remove the plugin.","status":"open","published_at":"2026-10-22T11:17:04+00:00","first_seen_at":"2026-10-23T21:57:30+00:00","triaged_at":"2026-10-23T22:32:31+00:00","updated_at":"2026-10-24T07:15:51+00:00","category":"package","confidence":0.8,"triage":{"at":"2026-10-23T22:32:31Z","model":"claude-haiku-5-5","output":{"fix":"Update the NotificationX plugin to 2.3.12 or later; if that is not possible, deactivate and remove the plugin.","reach":"internet","title":"NotificationX WordPress plugin: unauthenticated SQL injection leaks database contents","impact":"high","summary":"NotificationX, a WordPress notification plugin, lets remote attackers inject SQL through the id parameter of its REST endpoint without logging in. An attacker can read database contents, including site credentials, and the sources report exploitation observed in October 2023.","category":"package","who_cares":["wordpress","notificationx","self-hosted"],"confidence":0.8,"needs_auth":"no","worst_case":"attacker reads the full WordPress database, including password hashes","analyst_note":"Confirm whether the vulnerable endpoint needs the plugin's API key to be set or is reachable on default installs, via the NVD page https://nvd.nist.gov/vuln/detail/CVE-2022-51021 and the plugin changelog.","how_to_check":"Check the installed NotificationX version in the WordPress plugins screen or the plugin's readme.txt; versions 2.0.0 through 2.3.11 are affected.","needs_analyst":true,"not_affected_if":["managed-hosting","plugin-not-installed"],"user_interaction":"no","needs_special_setup":"unknown","severity_if_unknown":"high"},"cost_usd":0.000543,"input_tokens":3039,"output_tokens":478,"severity_before":"high"},"analyst_status":null,"analyst_note":null,"search":"'-10':141C '-18':142C '-2022':11A,14A '-51021':12A,15A '/wp-json/notificationx/v1/notification':91C '1':97C '2.0.0':65C '2.3.12':67C '2023':60B,140C 'allow':75C 'along':108C 'api':111C 'array':86C 'array-form':85C 'attack':29B,44B,77C,93C 'base':105C 'contain':68C 'content':9A,48B,129C 'craft':99C 'credenti':51B 'cve':10A,13A 'databas':8A,47B,80C,122C,128C 'deriv':113C 'endpoint':39B 'evid':131C 'exploit':56B,130C 'extract':127C 'first':133C 'flow':119C 'form':87C 'foundat':138C 'get':123C 'home':116C 'host':20B 'id':34B,88C,92C,96C 'includ':49B 'inject':6A,30B,72C 'key':112C 'leak':7A 'let':27B 'log':41B 'manipul':79C 'md5':115C 'notif':25B 'notificationx':1A,16B,22B,61C 'observ':57B,134C 'octob':59B 'packag':17B 'paramet':35B,89C 'pass':95C 'payload':107C 'plugin':3A,26B,62C 'queri':81C,125C 'read':46B 'remot':28B,76C 'report':55B 'rest':38B 'self':19B 'self-host':18B 'shadowserv':137C 'site':50B 'sleep':106C 'sourc':54B 'sql':5A,31B,71C,100C 'suppli':83C 'time':104C 'time-bas':103C 'unauthent':4A,70C 'unsanit':120C 'url':117C 'vulner':73C 'without':40B 'wordpress':2A,21B,24B,64C","nicknames":[],"mitigations":[],"who_affected":null,"tier":"B","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-22T11:17:04+00:00","kev":null,"cvss_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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"disclosure@vulncheck.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2022-51021","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-51021","severity":null,"published_at":"2026-10-22T11:17:04+00:00","modified_at":"2026-10-23T22:16:51+00:00","first_seen_at":"2026-10-23T21:57:30+00:00","fetched_at":"2026-10-23T22:29:02+00:00","note":null},{"source":"epss","external_id":"CVE-2022-51021","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-51021","severity":null,"published_at":null,"modified_at":null,"first_seen_at":"2026-10-24T07:15:51+00:00","fetched_at":"2026-10-25T12:38:51+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}