What’s Vulnerable › Vulnerabilities

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

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 products

How to fix

Upgrade to a fixed version: shopware 6.5.8.13, 6.6.5.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-42355 or the next vulnerability affects your stack