- 8.8HighCVSS base score
- 2.1%Exploitation in 30 daysEPSS · top 18% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- YesPublic exploitsa reference or SSVC says so
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. CISA's SSVC rates its exploitation: a proof of concept is public.
Timeline
ID reserved
By STAR_Labs
- 4 days later
· 4 days later
Published
- 22 months later
· 22 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| STAR_LabsCNA (assigner) | 3.1 | High8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | High8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 2.1% · top 18% of all CVEs (9 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.8.
Affected products
- affected ≤ 6.4.20.0
- affected 6.5.0.0-rc1 – ≤ 6.5.0.0-rc4
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Packagistshopware/coreGHSA-7v2v-9rm4-7m8f (opens in a new tab)
- Packagistshopware/platformGHSA-7v2v-9rm4-7m8f (opens in a new tab)
What to do
Solution: Users are advised to upgrade to v6.4.20.1 to resolve this issue.
References
3
- https://docs.shopware.com/en/shopware-6-en/security-updates/security-update-04-2023 (opens in a new tab)vendor-advisoryx_transferred
- https://github.com/shopware/platform/security/advisories/GHSA-7v2v-9rm4-7m8f (opens in a new tab)vendor-advisoryx_transferred
- https://starlabs.sg/advisories/23/23-2017/ (opens in a new tab)third-party-advisoryx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2023-1231 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-7v2v-9rm4-7m8f (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2023-2017)Record last updated .