Shopware Improper Session Handling in store-api account logout
Impact
When a authentificated request is made to POST /store-api/account/logout, the cart will be cleared, but the User won't be logged out. This affects only the direct store-api usage, as the PHP Storefront listens additionally on CustomerLogoutEvent and invalidates the session additionally.
Patches
The problem has been fixed with Shopware 6.6.1.0 and 6.5.8.8.
Workarounds
When you are not able to update, you can install the latest version of the Shopware Security Plugin.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | shopware/core | >= 6.3.5.0, < 6.5.8.8, >= 6.6.0.0-rc1, < 6.6.1.0 | 6.5.8.8, 6.6.1.0 |
| Composer package | shopware/platform | >= 6.3.5.0, < 6.5.8.8, >= 6.6.0.0-rc1, < 6.6.1.0 | 6.5.8.8, 6.6.1.0 |
References
- https://github.com/shopware/shopware/security/advisories/GHSA-5297-wrrp-rcj7
- https://nvd.nist.gov/vuln/detail/CVE-2024-31447
- https://github.com/shopware/shopware/commit/5cc84ddd817ad0c1d07f9b3c79ab346d50514a77
- https://github.com/shopware/shopware/commit/d29775aa758f70d08e0c5999795c7c26d230e7d3
- https://github.com/shopware/shopware
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N- Weakness (CWE)
CWE-613- Platform
- Composer
- Package
shopware/core, shopware/platform- Disclosed
- 08.04.2024
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-5297-wrrp-rcj7 - CC BY 4.0
Vulnerability history: shopware/core
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 65
- First → latest
- 09.2020 06.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 5
- High 16
- Medium 31
- Low 13
Disclosures per year
- 2020: 7
- 2021: 13
- 2022: 7
- 2023: 6
- 2024: 7
- 2025: 12
- 2026: 13
-
Shopware Improper Session Handling in store-api account logout this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.