{"id":"CVE-2021-24846","aliases":["EUVD-2021-11758","GHSA-mv38-79cw-m7w5"],"status":"published","title":"Ni WooCommerce Custom Order Status \u003c 1.9.7 - Subscriber+ SQL Injection","description":"The get_query() function of the Ni WooCommerce Custom Order Status WordPress plugin before 1.9.7, used by the niwoocos_ajax AJAX action, available to all authenticated users, does not properly sanitise the sort parameter before using it in a SQL statement, leading to an SQL injection, exploitable by any authenticated users, such as subscriber","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.01361,"percentile":0.71982,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-89"],"published":"2021-12-21T08:45:31Z","modified":"2026-06-17T03:41:00Z","products":[{"vendor":"ni_woocommerce_custom_order_status_project","product":"ni_woocommerce_custom_order_status"},{"vendor":"unknown","product":"ni woocommerce custom order status"}],"references":[{"url":"https://wpscan.com/vulnerability/a1e7cd2b-8400-4c5d-8b47-a8ccd1e21675","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24846"},{"url":"https://github.com/advisories/GHSA-mv38-79cw-m7w5"}],"sources":{"cve":[{"id":"CVE-2021-24846","title":"Ni WooCommerce Custom Order Status \u003c 1.9.7 - Subscriber+ SQL Injection","description":"The get_query() function of the Ni WooCommerce Custom Order Status WordPress plugin before 1.9.7, used by the niwoocos_ajax AJAX action, available to all authenticated users, does not properly sanitise the sort parameter before using it in a SQL statement, leading to an SQL injection, exploitable by any authenticated users, such as subscriber","status":"published","published":"2021-12-21T08:45:31Z","modified":"2024-08-03T19:42:17.36Z","cwes":["CWE-89"],"updated_at":"2026-11-02T14:33:05.000797Z"}],"euvd":[{"id":"EUVD-2021-11758","description":"The get_query() function of the Ni WooCommerce Custom Order Status WordPress plugin before 1.9.7, used by the niwoocos_ajax AJAX action, available to all authenticated users, does not properly sanitise the sort parameter before using it in a SQL statement, leading to an SQL injection, exploitable by any authenticated users, such as subscriber","status":"published","published":"2021-12-21T08:45:31Z","modified":"2024-08-03T19:42:17Z","updated_at":"2026-11-03T03:24:55.867627Z"}],"ghsa":[{"id":"GHSA-mv38-79cw-m7w5","title":"The get_query() function of the Ni WooCommerce Custom Order Status WordPress plugin before 1.9.7,...","description":"The get_query() function of the Ni WooCommerce Custom Order Status WordPress plugin before 1.9.7, used by the niwoocos_ajax AJAX action, available to all authenticated users, does not properly sanitise the sort parameter before using it in a SQL statement, leading to an SQL injection, exploitable by any authenticated users, such as subscriber","status":"published","published":"2021-12-22T00:00:49Z","modified":"2023-02-03T05:03:05Z","cwes":["CWE-89"],"updated_at":"2026-11-02T14:53:17.668091Z"}],"nvd":[{"id":"CVE-2021-24846","description":"The get_query() function of the Ni WooCommerce Custom Order Status WordPress plugin before 1.9.7, used by the niwoocos_ajax AJAX action, available to all authenticated users, does not properly sanitise the sort parameter before using it in a SQL statement, leading to an SQL injection, exploitable by any authenticated users, such as subscriber","status":"published","published":"2021-12-21T09:15:07.04Z","modified":"2026-06-17T03:41:00.42Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:07:02.566991Z"}]}}
