Shopware guest session is shared between customers
Published 10 Mar 2022 · Updated 8 Nov 2023
Affected packages
- Affected
- <6.4.8.2
- Fixed in
- 6.4.8.2
composer require shopware/platform:^6.4.8.2- Affected
- <6.4.8.2
- Fixed in
- 6.4.8.2
composer require shopware/storefront:^6.4.8.2Details
Impact
Guest sessions are shared between customers when HTTP cache is enabled. Setups with Varnish are not affected by this issue
Patches
We recommend updating to the current version 6.4.8.2. You can get the update to 6.4.8.2 regularly via the Auto-Updater or directly via the download overview.
https://www.shopware.com/en/download/#shopware-6
Workarounds
Security Plugin
For older versions of 6.1, 6.2, and 6.3, corresponding security measures are also available via a plugin. For the full range of functions, we recommend updating to the latest Shopware version.
Disable HTTP Cache
Disabling HTTP Cache is also a valid workaround
Is GHSA-jp6h-mxhx-pgqh in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected shopware/platform, and gives you the command that fixes it.
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.