High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-47811
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 07:02 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-47811
Complete source record
{
"id": "8c1fe2b9ee35b916b70a244156998756b37c12a2275a995327d6299d4ac95cfe",
"url": "https://osv.dev/vulnerability/CVE-2021-47811",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-47811",
"summary": "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.",
"evidence": "osv:CVE-2021-47811",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2021-47811",
"aliases": [
"CVE-2021-47811"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/scoumbourdis/grocery-crud-codeigniter-4",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "89dcbaccf1bf157dd2e7f809fcd6f3691ee7b0a3"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:grocerycrud:grocery_crud:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.0.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"2.0.0",
"2.0.0-BETA.1",
"2.0.0-BETA"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-47811.json"
}
}
],
"modified": "2026-10-24T10:30:47.685414426Z",
"provider": "osv",
"references": [
"https://www.grocerycrud.com/",
"https://www.grocerycrud.com/downloads",
"https://www.vulncheck.com/advisories/grocery-crud-orderby-sql-injection",
"https://www.exploit-db.com/exploits/49985"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:grocerycrud:grocery_crud:*:*:*:*:*:*:*:*"
],
"vendor_product": "grocerycrud:grocery_crud",
"extracted_events": [
{
"range": [
{
"fixed": "2.0.1"
}
],
"source": "CPE_RANGE"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2021-47811",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 436599,
"published_at": "2026-01-16T00:16:26.273+00:00"
}