{"id":"GHSA-7cw6-7h3h-v8pf","summary":"Shopware Has Improper Control of Generation of Code in Twig rendered views","details":"### Impact\nWe fixed with [CVE-2023-2017](https://github.com/advisories/GHSA-7v2v-9rm4-7m8f) Twig filters to only be executed with allowed functions. However there was a regression that lead to an array and array crafted PHP Closure not checked being against allow list for the map(...) override\n\n### Patches\nPatched in 6.7.6.1\n\n### Workarounds\nInstall the security plugin","aliases":["CVE-2026-23498"],"modified":"2026-02-03T02:56:25.126713Z","published":"2026-01-14T16:54:27Z","database_specific":{"nvd_published_at":"2026-01-14T19:16:48Z","cwe_ids":["CWE-94"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2026-01-14T16:54:27Z"},"references":[{"type":"WEB","url":"https://github.com/shopware/shopware/security/advisories/GHSA-7cw6-7h3h-v8pf"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23498"},{"type":"WEB","url":"https://github.com/shopware/shopware/commit/3966b05590e29432b8485ba47b4fcd14dd0b8475"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-7v2v-9rm4-7m8f"},{"type":"PACKAGE","url":"https://github.com/shopware/shopware"}],"affected":[{"package":{"name":"shopware/shopware","ecosystem":"Packagist","purl":"pkg:composer/shopware/shopware"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0.0"},{"fixed":"6.7.6.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/01/GHSA-7cw6-7h3h-v8pf/GHSA-7cw6-7h3h-v8pf.json"}},{"package":{"name":"shopware/core","ecosystem":"Packagist","purl":"pkg:composer/shopware/core"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0.0"},{"fixed":"6.7.6.1"}]}],"versions":["v6.7.0.0","v6.7.0.1","v6.7.1.0","v6.7.1.1","v6.7.1.2","v6.7.2.0","v6.7.2.1","v6.7.2.2","v6.7.3.0","v6.7.3.1","v6.7.4.0","v6.7.4.1","v6.7.4.2","v6.7.5.0","v6.7.5.1","v6.7.6.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/01/GHSA-7cw6-7h3h-v8pf/GHSA-7cw6-7h3h-v8pf.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"}]}