What’s Vulnerable › Vulnerabilities
CVE-2021-24846: Ni WooCommerce Custom Order Status < 1.9.7 - Subscriber+ SQL Injection
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2021-12-21 · updated 2026-06-17
- Weakness: CWE-89
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
Affected products
- Ni WooCommerce Custom Order Status: before 1.9.7 — fixed in 1.9.7
How to fix
Upgrade to a fixed version: Ni WooCommerce Custom Order Status 1.9.7. Check the vendor advisory for mitigations.
References
- https://wpscan.com/vulnerability/a1e7cd2b-8400-4c5d-8b47-a8ccd1e21675
- https://wpscan.com/vulnerability/a1e7cd2b-8400-4c5d-8b47-a8ccd1e21675
Get alerted when CVE-2021-24846 or the next vulnerability affects your stack