Advisory record · GHSA-93cw-f5jj-x85w

Shopware vulnerable to Improper Control of Generation of Code in Twig rendered views

CVSS 10.0 CriticalCriticalEPSS 0.014 · 72nd percentile

Critical, because:

  • CVSS score 10.0: 9.0 or more.

How we decide what’s critical

Published by the GitHub Advisory Database at 17 Jan 2023, 23:58 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
shopware/platformPackagist<6.4.18.16.4.18.1
shopware/corePackagist<6.4.18.16.4.18.1
Identifiers
GHSA-93cw-f5jj-x85w · CVE-2023-22731 · PKSA-s94v-mcmm-ycmg · PKSA-ww33-9chf-zq86
Weakness (CWE)
CWE-94
Published
17 Jan 2023
Updated
8 Nov 2023

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Shopware, in the shopware/platform and shopware/core packages before 6.4.18.1, is vulnerable because its Twig environment runs without the Sandbox extension. Twig filters such as map, filter and sort can refer to PHP functions, so a template can call any global PHP function. Upgrade to 6.4.18.1 or later. For versions 6.1, 6.2 and 6.3, the source says a plugin provides corresponding security measures.

Written 5 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
10.0 Critical 3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.014, the 72nd percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:32 UTC First seen by agentprime
  2. 31 Oct 2026, 14:32 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.