CVE-2024-42355

Shopware vulnerable to Server Side Template Injection in Twig using deprecation silence tag

Published Aug 8, 2024 CVSS 3.1 · 8.3 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-2460 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.
Github GHSA Github GHSA GHSA-27wp-jvhw-v4xp Shopware vulnerable to Server Side Template Injection in Twig using deprecation silence tag
History
Type Values Removed Values Added
Weaknesses CWE-94
Type Values Removed Values Added
First Time appeared Shopware
Shopware shopware
CPEs cpe:2.3:a:shopware:shopware:*:*:*:*:*:*:*:*
Vendors & Products Shopware
Shopware shopware
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Shopware vulnerable to Server Side Template Injection in Twig using deprecation silence tag
Weaknesses CWE-1336
References
Metrics cvssV3_1

{'score': 8.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 8, 2024, 3:32 PM
Reserved
Jul 30, 2024, 2:01 PM
Status
Analyzed
Published
Aug 8, 2024, 3:15 PM
Modified
Jun 17, 2026, 7:49 AM