HighGHSA-8g35-7rmw-7f59CVE-2025-27892

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
Update to the fixed version for your release line, for example: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
Update to the fixed version for your release line, for example:composer require shopware/platform:^6.7.0.0-rc2
Affected
>=6.6.0.0 <6.6.10.3
Fixed in
6.6.10.3
Update to the fixed version for your release line, for example:composer require shopware/core:^6.6.10.3
Affected
>=6.6.0.0 <6.6.10.3
Fixed in
6.6.10.3
Update to the fixed version for your release line, for example:composer require shopware/platform:^6.6.10.3
Affected
<6.5.8.18
Fixed in
6.5.8.18
Update to the fixed version for your release line, for example:composer require shopware/core:^6.5.8.18
Affected
<6.5.8.18
Fixed in
6.5.8.18
Update to the fixed version for your release line, for example:composer require shopware/platform:^6.5.8.18

Details

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

Redteam Pentesting

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

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.