CVE-2021-24846
WordPress vulnerability analysis and mitigation

Overview

The vulnerability CVE-2021-24846 affects the Ni WooCommerce Custom Order Status WordPress plugin versions below 1.9.7. This SQL injection vulnerability was discovered and reported by ZhongFu Su(JrXnm) of Wuhan University on November 22, 2021 (WPScan).

Technical details

The vulnerability exists in the getquery() function of the plugin, which is accessed through the niwoocosajax AJAX action. The function fails to properly sanitize the sort parameter before using it in a SQL statement. The vulnerability has been classified as SQL Injection (SQLI) under OWASP Top 10 category A1: Injection and CWE-89, with a CVSS score of 7.7 (High) (WPScan).

Impact

The vulnerability allows any authenticated user, including those with subscriber-level access, to perform SQL injection attacks against the affected WordPress installation. This could potentially lead to unauthorized access to or manipulation of the database (WPScan).

Mitigation and workarounds

The vulnerability has been fixed in version 1.9.7 of the Ni WooCommerce Custom Order Status plugin. Users are advised to update to this version or later to mitigate the risk (WPScan).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-13342CRITICAL9.8
  • acf-frontend-form-element
NoYesDec 03, 2025
CVE-2025-13359MEDIUM6.5
  • simple-tags
NoYesDec 03, 2025
CVE-2025-13756MEDIUM4.3
  • fluent-booking
NoYesDec 03, 2025
CVE-2025-13354MEDIUM4.3
  • simple-tags
NoYesDec 03, 2025
CVE-2025-13109MEDIUM4.3
  • woocommerce-products-filter
NoYesDec 03, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management