Shopware Vulnerable to Blind SQL-injection in DAL aggregations
Published 8 Apr 2025 · Updated 12 May 2025
Affected packages
- Affected
- >=6.7.0.0-rc1 <6.7.0.0-rc2
- Fixed in
- 6.7.0.0-rc2
composer require shopware/core:^6.7.0.0-rc2- Affected
- >=6.7.0.0-rc1 <6.7.0.0-rc2
- Fixed in
- 6.7.0.0-rc2
composer require shopware/platform:^6.7.0.0-rc2- Affected
- >=6.6.0.0 <6.6.10.3
- Fixed in
- 6.6.10.3
composer require shopware/core:^6.6.10.3- Affected
- >=6.6.0.0 <6.6.10.3
- Fixed in
- 6.6.10.3
composer require shopware/platform:^6.6.10.3- Affected
- <6.5.8.18
- Fixed in
- 6.5.8.18
composer require shopware/core:^6.5.8.18- Affected
- <6.5.8.18
- Fixed in
- 6.5.8.18
composer require shopware/platform:^6.5.8.18Details
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” in nested object is vulnerable SQL-injection and can be exploited using SQL parameters.
Patches
Update to Shopware 6.6.10.3
Workarounds
For older versions of 6.5 or 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.
Credit
Is GHSA-8g35-7rmw-7f59 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-8g35-7rmw-7f59
- Advisorynvd.nist.gov/vuln/detail/CVE-2025-27892
- Packagegithub.com/shopware/shopware
- Linkgithub.com/shopware/shopware/releases/tag/v6.5.8.17
- Linkgithub.com/shopware/shopware/releases/tag/v6.6.10.3
- Linkgithub.com/shopware/shopware/releases/tag/v6.7.0.0-rc2
- Linkwww.redteam-pentesting.de/en/advisories/rt-sa-2025-001
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.