# CVE-2024-42355: Shopware vulnerable to Server Side Template Injection in Twig using deprecation silence tag

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.3
- **CVSS:** 8.3 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 1.67% (percentile 77, 2026-11-26)
- **CWE:** CWE-1336
- **Aliases:** GHSA-27wp-jvhw-v4xp
- **Published:** 2024-08-08T14:48:03.000Z
- **Modified:** 2026-06-17T07:49:19.017Z

## 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

## 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

- Packagist `shopware/core`: affected \< 6.5.8.13; fixed 6.5.8.13, 6.6.5.1 (osv)
- Packagist `shopware/platform`: affected \< 6.5.8.13; fixed 6.5.8.13, 6.6.5.1 (osv)
- shopware: \<= 6.5.8.12; \>= 6.6.0.0, \<= 6.6.5.0 (cvelist)

## 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).

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://github.com/shopware/shopware/security/advisories/GHSA-27wp-jvhw-v4xp>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2024-42355>
- patch: <https://github.com/shopware/core/commit/a784aa1cec0624e36e0ee4d41aeebaed40e0442f>
- patch: <https://github.com/shopware/core/commit/d35ee2eda5c995faeb08b3dad127eab65c64e2a2>
- patch: <https://github.com/shopware/shopware/commit/445c6763cc093fbd651e0efaa4150deae4ae60da>
- patch: <https://github.com/shopware/shopware/commit/8504ba7e56e53add6a1d5b9d45015e3d899cd0ac>
- other: <https://github.com/shopware/shopware>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-42355>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-27wp-jvhw-v4xp> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2024-42355> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-42355>
