CVE-2024-42354Shopware
Medium 5.9 No auth needed
Follow: this CVE · Shopware · Shopware We alert you by email or Slack (account required).
- Priority
- 50
- CVSS 3.1
- 5.9
- EPSS
- 0.7% probability of exploitation in 30 days · percentile 50
- Auth required
- No
- Published
- Aug 8, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-284
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
Shopware is an open commerce platform. The store-API works with regular entities and not expose all fields for the public API; fields need to be marked as ApiAware in the EntityDefinition. So only ApiAware fields of the EntityDefinition will be encoded to the final JSON. Prior to versions 6.6.5.1 and 6.5.8.13, the processing of the Criteria did not considered ManyToMany associations and so they were not considered properly and the protections didn't get used. This issue cannot be reproduced with the default entities by Shopware, but can be triggered with extensions. Update to Shopware 6.6.5.1 or 6.5.8.13 to receive a patch. For older versions of 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-hhcq-ph6w-494g). 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