CVE-2024-42357Shopware
Critical 9.8 No auth needed
Follow: this CVE · Shopware · Shopware We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 1.2% probability of exploitation in 30 days · percentile 67
- Auth required
- No
- Published
- Aug 8, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-89
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Shopware.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | shopware/core |
< 6.5.8.13 |
6.5.8.13 |
composer require "shopware/core:^6.5.8.13" |
| Packagist | shopware/core |
≥ 6.6.0.0 < 6.6.5.1 |
6.6.5.1 |
composer require "shopware/core:^6.6.5.1" |
| Packagist | shopware/platform |
< 6.5.8.13 |
6.5.8.13 |
composer require "shopware/platform:^6.5.8.13" |
| Packagist | shopware/platform |
≥ 6.6.0.0 < 6.6.5.1 |
6.6.5.1 |
composer require "shopware/platform:^6.6.5.1" |
Per OSV / GitHub Advisories (GHSA-p6w9-r443-r752). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| shopware | shopware | < 6.5.8.13 |
| shopware | shopware | ≥ 6.6.0.0 < 6.6.5.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch
- github.com Patch
- github.com Patch
- github.com Vendor Advisory