{"id":"CVE-2024-42355","aliases":["CVE-2024-42355","GHSA-27wp-jvhw-v4xp"],"related":[],"kind":"vulnerability","state":"published","title":"Shopware vulnerable to Server Side Template Injection in Twig using deprecation silence tag","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nShopware has a new Twig Tag `sw_silent_feature_call` which silences deprecation messages while triggered in this tag.\nIt accepts as parameter a string the feature flag name to silence, but this parameter is not escaped properly and allows execution of code.\n\n### Patches\nUpdate to Shopware 6.6.5.1 or 6.5.8.13\n\n### Workarounds\nFor older versions of 6.2, 6.3,  and 6.4, corresponding security measures are also available via a plugin. For the full range of functions, we recommend updating to the latest Shopware version.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Shopware, una plataforma de comercio electrónico abierta, tiene una nueva etiqueta Twig `sw_silent_feature_call` que silencia los mensajes de obsolescencia mientras se activa en esta etiqueta. Antes de las versiones 6.6.5.1 y 6.5.8.13, acepta como parámetro una cadena el nombre del indicador de característica a silenciar, pero este parámetro no tiene escape correctamente y permite la ejecución de código. Actualice a Shopware 6.6.5.1 o 6.5.8.13 para recibir un parche. Para las versiones anteriores 6.2, 6.3 y 6.4 también están disponibles las medidas de seguridad correspondientes a través de un complemento.","source":"nvd"}],"published":"2024-08-08T14:48:03.000Z","modified":"2026-06-17T07:49:19.017Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L","score":8.3,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L","score":8.3,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L","score":8.3,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-94","CWE-1336"],"affected":[{"ranges":[{"version":"<= 6.5.8.12","status":"affected"},{"version":">= 6.6.0.0, <= 6.6.5.0","status":"affected"}],"vendor":"shopware","product":"shopware","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"6.5.8.13","status":"affected"},{"type":"custom","introduced":"6.6.0.0","fixed":"6.6.5.1","status":"affected"}],"vendor":"shopware","product":"shopware","cpe":"cpe:2.3:a:shopware:shopware:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"6.5.8.13"}],"ecosystem":"Packagist","package":"shopware/core","purl":"pkg:composer/shopware/core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"6.5.8.13"}],"ecosystem":"Packagist","package":"shopware/platform","purl":"pkg:composer/shopware/platform","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"6.6.0.0","status":"affected","fixed":"6.6.5.1"}],"ecosystem":"Packagist","package":"shopware/platform","purl":"pkg:composer/shopware/platform","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"6.6.0.0","status":"affected","fixed":"6.6.5.1"}],"ecosystem":"Packagist","package":"shopware/core","purl":"pkg:composer/shopware/core","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"6.5.8.13"},{"status":"affected","introduced":"6.6.0.0","fixed":"6.6.5.1"}],"vendor":"shopware","product":"shopware","cpe":"cpe:2.3:a:shopware:shopware:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/shopware/shopware/security/advisories/GHSA-27wp-jvhw-v4xp","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/shopware/core/commit/a784aa1cec0624e36e0ee4d41aeebaed40e0442f","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/shopware/core/commit/d35ee2eda5c995faeb08b3dad127eab65c64e2a2","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/shopware/shopware/commit/445c6763cc093fbd651e0efaa4150deae4ae60da","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/shopware/shopware/commit/8504ba7e56e53add6a1d5b9d45015e3d899cd0ac","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42355","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/shopware/shopware","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-08-08T15:26:25.050Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-42355","url":"https://www.cve.org/CVERecord?id=CVE-2024-42355","licence":"CVE Terms of Use","modified":"2024-08-08T15:32:50.503Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-27wp-jvhw-v4xp","url":"https://github.com/advisories/GHSA-27wp-jvhw-v4xp","licence":"CC-BY-4.0","modified":"2024-08-12T19:21:03.217Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-42355","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42355","licence":"Public domain","modified":"2026-06-17T07:49:19.017Z"}],"updatedAt":"2026-11-25T22:58:44.146Z","epss":{"score":0.00863,"percentile":0.59675,"date":"2026-12-01T12:00:22.000Z"}}