{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-42355","id":"CVE-2024-42355","title":"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 vers","descriptionLong":"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.","published":"2024-08-08T14:49:38.492Z","updated":"2026-10-28T02:31:00.271589706Z","reserved":"2024-07-30T14:01:33.922Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":8.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L","rating":"high","source":"GitHub_M"},"metrics":[{"version":"4.0","score":null,"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","source":"GitHub"},{"version":"3.1","score":8.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L","rating":"high","source":"GitHub_M"},{"version":"3.1","score":8.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L","rating":"high","source":"github.com"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":8.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L","rating":"high","source":"OSV"},{"version":"3.1","score":8.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L","rating":"high","source":"GitHub"}],"rating":"high","products":["shopware"],"affectedProducts":[{"vendor":"shopware","product":"shopware","defaultStatus":null,"versions":[{"version":"<= 6.5.8.12","status":"affected"},{"version":">= 6.6.0.0, <= 6.6.5.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"shopware/core","purl":"pkg:composer/shopware/core","ranges":["<6.5.8.13",">=6.6.0.0 <6.6.5.1"],"fixed":["6.5.8.13","6.6.5.1"],"advisory":"GHSA-27wp-jvhw-v4xp"},{"ecosystem":"Packagist","name":"shopware/platform","purl":"pkg:composer/shopware/platform","ranges":["<6.5.8.13",">=6.6.0.0 <6.6.5.1"],"fixed":["6.5.8.13","6.6.5.1"],"advisory":"GHSA-27wp-jvhw-v4xp"}],"cwes":["CWE-1336","CWE-94"],"aliases":["GHSA-27wp-jvhw-v4xp"],"references":[{"url":"https://github.com/shopware/shopware/security/advisories/GHSA-27wp-jvhw-v4xp","tags":["x_refsource_CONFIRM","Vendor Advisory","advisory","web"]},{"url":"https://github.com/shopware/core/commit/a784aa1cec0624e36e0ee4d41aeebaed40e0442f","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/shopware/core/commit/d35ee2eda5c995faeb08b3dad127eab65c64e2a2","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/shopware/shopware/commit/445c6763cc093fbd651e0efaa4150deae4ae60da","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/shopware/shopware/commit/8504ba7e56e53add6a1d5b9d45015e3d899cd0ac","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42355.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42355","tags":["advisory"]},{"url":"https://github.com/shopware/shopware","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00863,"epssPercentile":0.593,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-42355","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42355","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-42355","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-27wp-jvhw-v4xp","ok":true,"note":"GHSA-27wp-jvhw-v4xp"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-42355","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}