CVE-2024-42355
Shopware vulnerable to Server Side Template Injection in Twig using deprecation silence tag
Also known as GHSA-27wp-jvhw-v4xp
Mitigation
- Upgrade shopware/core to one of 6.5.8.13, 6.6.5.1 (or later in the same release line).
- Upgrade shopware/platform to one of 6.5.8.13, 6.6.5.1 (or later in the same release line).
Who should check
- Projects that depend on Packagist package shopware/core (< 6.5.8.13)
- Projects that depend on Packagist package shopware/platform (< 6.5.8.13)
- Anyone running shopware <= 6.5.8.12; >= 6.6.0.0, <= 6.6.5.0
Vulnerability facts
- Affected
- shopware/core < 6.5.8.13; shopware/platform < 6.5.8.13
- Fixed in
- 6.5.8.13, 6.6.5.1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 8.3 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: Low
- EPSS
- 1.67% chance of exploitation in 30 days (percentile 77, 2026-11-26)
- CWE
- CWE-1336
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Packagist shopware/core | < 6.5.8.13 | 6.5.8.13, 6.6.5.1 | osv |
| Packagist shopware/platform | < 6.5.8.13 | 6.5.8.13, 6.6.5.1 | osv |
| shopware | <= 6.5.8.12; >= 6.6.0.0, <= 6.6.5.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-42355. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-42355.md Affected: shopware/core < 6.5.8.13; shopware/platform < 6.5.8.13 Fixed in: 6.5.8.13, 6.6.5.1 Steps: 1. Search this machine and project for shopware/core (Packagist), shopware/platform (Packagist), shopware: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
- https://github.com/shopware/core/commit/a784aa1cec0624e36e0ee4d41aeebaed40e0442f
- https://github.com/shopware/core/commit/d35ee2eda5c995faeb08b3dad127eab65c64e2a2
- https://github.com/shopware/shopware/commit/445c6763cc093fbd651e0efaa4150deae4ae60da
- https://github.com/shopware/shopware/commit/8504ba7e56e53add6a1d5b9d45015e3d899cd0ac
FAQ
Is CVE-2024-42355 being exploited?
There is no confirmed exploitation: CVE-2024-42355 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.67% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-42355?
High: CVSS 8.3 (v3.1, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2024-42355?
shopware/core < 6.5.8.13; shopware/platform < 6.5.8.13.
Is there a fix for CVE-2024-42355?
Yes. Fixed in 6.5.8.13, 6.6.5.1. Upgrade shopware/core to one of 6.5.8.13, 6.6.5.1 (or later in the same release line). Upgrade shopware/platform to one of 6.5.8.13, 6.6.5.1 (or later in the same release line).
How do I check if I'm affected by CVE-2024-42355?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.