CVE-2024-42355Shopware
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.7% probability of exploitation in 30 days · percentile 77
- Auth required
- No
- Published
- Aug 8, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
Shopware, an open ecommerce platform, has a new Twig Tag `sw_silent_feature_call` which silences deprecation messages while triggered in this tag. Prior to versions 6.6.5.1 and 6.5.8.13, it accepts as parameter a string the feature flag name to silence, but this parameter is not escaped properly and allows execution of code. 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-27wp-jvhw-v4xp). 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