CVE-2023-2017
CVE-2023-2017 is a high-severity vulnerability in Shopware with a CVSS 3.x base score of 8.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-94.
Key facts
- Severity: High (CVSS 3.x base score 8.8)
- EPSS exploit prediction: 2% (79th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-94
- Affected product: Shopware
- Published:
- Last modified:
Description
Server-side Template Injection (SSTI) in Shopware 6 (<= v6.4.20.0, v6.5.0.0-rc1 <= v6.5.0.0-rc4), affecting both shopware/core and shopware/platform GitHub repositories, allows remote attackers with access to a Twig environment without the Sandbox extension to bypass the validation checks in `Shopware\Core\Framework\Adapter\Twig\SecurityExtension` and call any arbitrary PHP function and thus execute arbitrary code/commands via usage of fully-qualified names, supplied as array of strings, when referencing callables. Users are advised to upgrade to v6.4.20.1 to resolve this issue. This is a bypass of CVE-2023-22731.
Frequently asked questions
- What is CVE-2023-2017?
- Server-side Template Injection (SSTI) in Shopware 6 (<= v6.4.20.0, v6.5.0.0-rc1 <= v6.5.0.0-rc4), affecting both shopware/core and shopware/platform GitHub repositories, allows remote attackers with access to a Twig environment without the Sandbox extension to bypass the validation checks in `Shopware\Core\Framework\Adapter\Twig\SecurityExtension` and call any arbitrary PHP function and thus execute arbitrary code/commands via usage of fully-qualified names, supplied as array of strings, when referencing callables. Users are advised to upgrade to v6.4.20.1 to resolve this issue. This is a bypass of CVE-2023-22731.
- How severe is CVE-2023-2017?
- CVE-2023-2017 has a CVSS 3.x base score of 8.8, rated high severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2023-2017 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (79th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2023-2017?
- CVE-2023-2017 primarily affects Shopware. In total, 4 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2023-2017?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2023-2017 published?
- CVE-2023-2017 was published on 2023-04-17 and last updated on 2026-06-17.
References
- https://docs.shopware.com/en/shopware-6-en/security-updates/security-update-04-2023
- https://github.com/shopware/platform/security/advisories/GHSA-7v2v-9rm4-7m8f
- https://starlabs.sg/advisories/23/23-2017/
Affected products (4)
- cpe:2.3:a:shopware:shopware:*:*:*:*:*:*:*:*
- cpe:2.3:a:shopware:shopware:6.5.0.0:rc1:*:*:*:*:*:*
- cpe:2.3:a:shopware:shopware:6.5.0.0:rc2:*:*:*:*:*:*
- cpe:2.3:a:shopware:shopware:6.5.0.0:rc3:*:*:*:*:*:*
More vulnerabilities in Shopware
- CVE-2023-22731 — Critical (CVSS 9.9): Shopware is an open source commerce platform based on Symfony Framework and Vue js. In a Twig environment **without the…
- CVE-2016-3109 — Critical (CVSS 9.8): The backend/Login/load/ script in Shopware before 5.1.5 allows remote attackers to execute arbitrary code.
- CVE-2024-22406 — Critical (CVSS 9.3): Shopware is an open headless commerce platform. The Shopware application API contains a search functionality which…
- CVE-2021-32711 — Critical (CVSS 9.1): Shopware is an open source eCommerce platform. Versions prior to 6.3.5.1 may leak of information via Store-API. The…
- CVE-2026-31889 — High (CVSS 8.9): Shopware is an open commerce platform. Prior to 6.6.10.15 and 6.7.8.1, a vulnerability in the Shopware app registration…
- CVE-2021-37711 — High (CVSS 8.8): Versions prior to 6.4.3.1 contain an authenticated server-side request forgery vulnerability in file upload via URL.…
Other CWE-94 (Code Injection) vulnerabilities
- CVE-2026-57624 — Critical (CVSS 10.0): Unauthenticated Remote Code Execution (RCE) in Blocksy Companion Pro <= 2.1.46 versions.
- CVE-2026-10134 — Critical (CVSS 10.0): IBM Langflow OSS 1.0.0 through 1.9.3 allows an attacker to read every secret available to the Langflow process, read…
- CVE-2026-53576 — Critical (CVSS 10.0): Kestra is an open-source, event-driven orchestration platform. Prior to 1.0.45 and 1.3.21, the authentication filter…
- CVE-2026-10561 — Critical (CVSS 10.0): IBM Langflow OSS 1.0.0 through 1.9.3 has an vulnerability due to an improper isolation of Python execution combined…
- CVE-2026-25470 — Critical (CVSS 10.0): Improper Control of Generation of Code ('Code Injection') vulnerability in ACPT ACPT (Pro) - Custom Post Types Plugin…
- CVE-2026-48836 — Critical (CVSS 10.0): Unauthenticated Remote Code Execution (RCE) in Easy Invoice <= 2.1.19 versions.