CVE-2021-47811 Grocery crud 1.6.4 - 'order_by' SQL Injection

High 8.8 Published Updated

Remote attackers can inject SQL via the order_by parameter to extract or modify database information in Grocery Crud.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-47811?

CVE-2021-47811 is a high-severity SQL injection vulnerability in Grocerycrud Grocery crud, published on 15 Jan 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Grocery Crud 1.6.4 contains a SQL injection vulnerability in the order_by parameter that allows remote attackers to manipulate database queries. Attackers can inject malicious SQL code through the order_by[] parameter in POST requests to the ajax_list endpoint to potentially extract or modify database information.

Weakness: CWE-89

Which versions are affected by CVE-2021-47811?

It affects 1 product.

Products include Grocerycrud Grocery Crud.

How do I fix CVE-2021-47811?

No fix has been published for CVE-2021-47811 yet. Limit exposure of the affected software until one is available.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2021-47811 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-47811 exists.

Sources

Also known as GHSA-93r3-3845-hqh2.

Is CVE-2021-47811 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free