Shopware vulnerable to blind SQL-injection in DAL aggregations
Shopware is an open commerce platform. Prior to versions 6.6.5.1 and 6.5.8.13, the Shopware application API contains a search functionality which enables users to search through information stored within their Shopware instance. The searches performed by this function can be aggregated using the parameters in the `aggregations` object. The `name` field in this `aggregations` object is vulnerable SQL-injection and can be exploited using SQL parameters. Update to Shopware 6.6.5.1 or 6.5.8.13 to receive a patch. For older versions of 6.1, 6.2, 6.3, and 6.4, corresponding security measures are also available via a plugin.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-42357
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 04:15 UTC · Revision 1
Source evidence
Shopware vulnerable to blind SQL-injection in DAL aggregations
core-osv · Original sourcePublished 8 Aug 2024, 14:55 UTC
Shopware is an open commerce platform. Prior to versions 6.6.5.1 and 6.5.8.13, the Shopware application API contains a search functionality which enables users to search through information stored within their Shopware instance. The searches performed by this function can be aggregated using the parameters in the `aggregations` object. The `name` field in this `aggregations` object is vulnerable SQL-injection and can be exploited using SQL parameters. Update to Shopware 6.6.5.1 or 6.5.8.13 to receive a patch. For older versions of 6.1, 6.2, 6.3, and 6.4, corresponding security measures are also available via a plugin.
osv:CVE-2024-42357
Complete source record
{
"id": "665f4e764036c4cb18877d24619f7b2041eed5f7247efefea608a2e7c6ef2e14",
"url": "https://osv.dev/vulnerability/CVE-2024-42357",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Shopware vulnerable to blind SQL-injection in DAL aggregations",
"summary": "Shopware is an open commerce platform. Prior to versions 6.6.5.1 and 6.5.8.13, the Shopware application API contains a search functionality which enables users to search through information stored within their Shopware instance. The searches performed by this function can be aggregated using the parameters in the `aggregations` object. The `name` field in this `aggregations` object is vulnerable SQL-injection and can be exploited using SQL parameters. Update to Shopware 6.6.5.1 or 6.5.8.13 to receive a patch. For older versions of 6.1, 6.2, 6.3, and 6.4, corresponding security measures are also available via a plugin.",
"evidence": "osv:CVE-2024-42357",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2024-42357",
"aliases": [
"CVE-2024-42357",
"GHSA-p6w9-r443-r752"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/shopware/core",
"type": "GIT",
"events": [
{
"introduced": "c5635f75df71ab919c9dba907832dacea4fdc92f"
},
{
"last_affected": "d96c9bd9fcb764e4f092db264077c2dd6d3bcc5c"
},
{
"introduced": "0"
},
{
"fixed": "63c05615694790f5790a04ef889f42b764fa53c9"
},
{
"fixed": "a784aa1cec0624e36e0ee4d41aeebaed40e0442f"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "6.6.0.0"
},
{
"last_affected": "6.6.5.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "6.5.8.12"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "63c05615694790f5790a04ef889f42b764fa53c9"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "a784aa1cec0624e36e0ee4d41aeebaed40e0442f"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
},
{
"repo": "https://github.com/shopware/shopware",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "dcc24e9ec256787dc358feb1ac100d94d530db2f"
},
{
"introduced": "b0ae9ef3fae80afcc4f38401c09037fa7adc57b0"
},
{
"fixed": "e591422fb2720dcd24d9646f61437a8d2c857a96"
},
{
"fixed": "57ea2f3c59483cf7c0f853e7a0d68c23ded1fe5b"
},
{
"fixed": "8504ba7e56e53add6a1d5b9d45015e3d899cd0ac"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:shopware:shopware:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "6.5.8.13"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:shopware:shopware:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "6.6.0.0"
},
{
"fixed": "6.6.5.1"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "57ea2f3c59483cf7c0f853e7a0d68c23ded1fe5b"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "8504ba7e56e53add6a1d5b9d45015e3d899cd0ac"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v6.6.5.0",
"v6.5.8.12",
"v6.6.3.0",
"v6.5.8.11",
"v6.5.8.10",
"v6.5.8.9",
"v6.6.2.0",
"v6.5.8.8",
"v6.5.8.3"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42357.json"
}
}
],
"modified": "2026-10-28T02:30:49.468630191Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42357.json",
"https://github.com/shopware/shopware/security/advisories/GHSA-p6w9-r443-r752",
"https://nvd.nist.gov/vuln/detail/CVE-2024-42357",
"https://github.com/shopware/core/commit/63c05615694790f5790a04ef889f42b764fa53c9",
"https://github.com/shopware/core/commit/a784aa1cec0624e36e0ee4d41aeebaed40e0442f",
"https://github.com/shopware/shopware/commit/57ea2f3c59483cf7c0f853e7a0d68c23ded1fe5b",
"https://github.com/shopware/shopware/commit/8504ba7e56e53add6a1d5b9d45015e3d899cd0ac"
],
"provider_metadata": {
"cwe_ids": [
"CWE-89"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42357.json"
}
},
"related_cves": [
{
"value": "CVE-2024-42357",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 518052,
"published_at": "2024-08-08T14:55:50.674+00:00"
}