Blind SQL injection in shopware
Published 17 Jan 2024 · Updated 10 Sept 2026
Affected packages
- Affected
- <6.5.7.4
- Fixed in
- 6.5.7.4
composer require shopware/core:^6.5.7.4- Affected
- <6.5.7.4
- Fixed in
- 6.5.7.4
composer require shopware/platform:^6.5.7.4Details
Impact
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 time-based SQL-queries.
Patches
Update to Shopware 6.5.7.4
Workarounds
For older versions of 6.1, 6.2, 6.3 and 6.4 corresponding security measures are also available via a plugin. For the full range of functions, we recommend updating to the latest Shopware version.
Is GHSA-qmp9-2xwj-m6m9 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected shopware/core, and gives you the command that fixes it.
References
- Linkgithub.com/shopware/shopware/security/advisories/GHSA-qmp9-2xwj-m6m9
- Advisorynvd.nist.gov/vuln/detail/CVE-2024-22406
- Linkgithub.com/shopware/core/commit/e2256ec81e56f792623e90d89786d8a9fcad28bf
- Linkgithub.com/shopware/shopware/commit/5005213e609f5a4423fcfa92f105c3de8ab35100
- Packagegithub.com/shopware/shopware
- Linkgithub.com/shopware/shopware/releases/tag/v6.5.7.4
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.