Ni WooCommerce Custom Order Status <= 1.9.6 - SQL Injection

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVE CVE-2021-24846
CVSS High (8.8)
Publicly Published November 22, 2021
Last Updated January 22, 2024
Researcher ZhongFu Su
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

References

1 affected software package

Software Type Plugin
Software Slug ni-woocommerce-custom-order-status (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 1.9.6
Patched Version
  • 1.9.7
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.