Home / Shopware AG / Shopware 6 / CVE-2023-2017
CVE-2023-2017: is it exploited, and which versions of Shopware AG Shopware 6 are affected and fixed?
CVE-2023-2017 is an incomplete List of Disallowed Inputs vulnerability in Shopware AG Shopware 6. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 08:08 UTC). Affected: shopware/platform before 6.4.20.1 and shopware/core before 6.4.20.1 (GitHub advisory GHSA-7v2v-9rm4-7m8f). Fixed in 6.4.20.1 (GitHub advisory GHSA-7v2v-9rm4-7m8f). Severity: High (8.8, CVSS 3.1, from STAR_Labs).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 08:08 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:40 UTC.
What is CVE-2023-2017?
Improper Control of Generation of Code in Twig Rendered Views in Shopware
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.
From the CVE record by STAR_Labs, last updated February 5, 2025, 20:46 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Shopware AG | Shopware 6 | through 6.4.20.0 from 6.5.0.0-rc1 through 6.5.0.0-rc4 |
As the CVE record by STAR_Labs states it, last updated February 5, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | shopware/platform | < 6.4.20.1 | 6.4.20.1 | GHSA-7v2v-9rm4-7m8f |
| Packagist | shopware/core | < 6.4.20.1 | 6.4.20.1 | GHSA-7v2v-9rm4-7m8f |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated January 14, 2026. Summary: Shopware Has Improper Control of Generation of Code in Twig rendered views.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| shopware | shopware | from 6.1.0 through 6.4.20.0 | application |
| shopware | shopware | 6.5.0.0 | application |
NVD analysis (status Modified), last modified October 24, 2026, 13:10 UTC.
How severe is CVE-2023-2017?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | STAR_Labs |
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-2017 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: total (CISA ADP, February 5, 2025)
- EPSS
- 2.07% probability of exploitation activity in the next 30 days, percentile 82.0 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-184 Incomplete List of Disallowed Inputs
- CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine
- CWE-94 Improper Control of Generation of Code
How do I fix it? (from the CVE record)
Users are advised to upgrade to v6.4.20.1 to resolve this issue.
Where are the vendor advisories and references?
- https://docs.shopware.com/en/shopware-6-en/security-updates/security-update-04-2023 vendor-advisory
- https://github.com/shopware/platform/security/advisories/GHSA-7v2v-9rm4-7m8f vendor-advisory
- https://starlabs.sg/advisories/23/23-2017/ third-party-advisory
Who found and reported it?
- Ngo Wei Lin (@Creastery) of STAR Labs SG Pte. Ltd. (@starlabs_sg) (reporter)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- April 13, 2023
- Published
- April 17, 2023, 10:18 UTC
- CVE record updated
- February 5, 2025, 20:46 UTC by STAR_Labs
- NVD
- Modified, last modified October 24, 2026, 13:10 UTC
- Last checked
- CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:40 UTC; KEV December 3, 2026, 08:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2023-2017
Is CVE-2023-2017 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 08:08 UTC. FIRST's EPSS gives it a 2.07% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Shopware AG Shopware 6 are affected by CVE-2023-2017?
shopware/platform before 6.4.20.1 and shopware/core before 6.4.20.1, per the GitHub advisory GHSA-7v2v-9rm4-7m8f. The tables above give every range the sources list.
Which version fixes CVE-2023-2017?
6.4.20.1, per the GitHub advisory GHSA-7v2v-9rm4-7m8f. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-2017?
High (8.8, CVSS 3.1, from STAR_Labs). The severity table above shows each score with its source.
Where is the official record of CVE-2023-2017?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.