Security mailing lists by PureSourceCode

CVE-2023-2017

HIGH 8.8CVSS 3.1

Shopware Has Improper Control of Generation of Code in Twig rendered views

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.

Published
17 Apr 2023
Last modified
24 Oct 2026
Assigned by
info@starlabs.sg
NVD status
Modified
Weakness
CWE-1336CWE-184CWE-94
Also known as
GHSA-7v2v-9rm4-7m8f
Sources
NVDJSONOSV GHSA-7v2v-9rm4-7m8fJSON

Scores

SourceScored byVersionScoreVector / decision
NVD info@starlabs.sg (Secondary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD shopware shopware
cpe:2.3:a:shopware:shopware:*:*:*:*:*:*:*:*
>= 6.1.0, <= 6.4.20.0
NVD shopware shopware
cpe:2.3:a:shopware:shopware:6.5.0.0:rc1:*:*:*:*:*:*
= 6.5.0.0
NVD shopware shopware
cpe:2.3:a:shopware:shopware:6.5.0.0:rc2:*:*:*:*:*:*
= 6.5.0.0
NVD shopware shopware
cpe:2.3:a:shopware:shopware:6.5.0.0:rc3:*:*:*:*:*:*
= 6.5.0.0
OSV Packagist shopware/platform < 6.4.20.1 6.4.20.1
OSV Packagist shopware/core < 6.4.20.1 6.4.20.1

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 17 Apr 2023)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 18 Apr 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.