CVE-2024-31447
MEDIUM 5.3CVSS 3.1Shopware Improper Session Handling in store-api account logout
Shopware 6 is an open commerce platform based on Symfony Framework and Vue. Starting in version 6.3.5.0 and prior to versions 6.6.1.0 and 6.5.8.8, when a authenticated 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. The problem has been fixed in Shopware 6.6.1.0 and 6.5.8.8. Those who are unable to update can install the latest version of the Shopware Security Plugin as a workaround.
- Published
- 8 Apr 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-613
- Also known as
- GHSA-5297-wrrp-rcj7
- Sources
- NVDJSONOSV GHSA-5297-wrrp-rcj7JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | shopware | shopwarecpe:2.3:a:shopware:shopware:*:*:*:*:*:*:*:* |
>= 6.3.5.0, < 6.5.8.8 | 6.5.8.8 |
| NVD | shopware | shopwarecpe:2.3:a:shopware:shopware:*:*:*:*:*:*:*:* |
>= 6.6.0.0, < 6.6.1.0 | 6.6.1.0 |
| OSV | Packagist | shopware/core | >= 6.3.5.0, < 6.5.8.8 | 6.5.8.8 |
| OSV | Packagist | shopware/platform | >= 6.3.5.0, < 6.5.8.8 | 6.5.8.8 |
| OSV | Packagist | shopware/core | >= 6.6.0.0-rc1, < 6.6.1.0 | 6.6.1.0 |
| OSV | Packagist | shopware/platform | >= 6.6.0.0-rc1, < 6.6.1.0 | 6.6.1.0 |
References
- https://github.com/shopware/shopware/commit/5cc84ddd817ad0c1d07f9b3c79ab346d50514a77 · Patch, WEB
- https://github.com/shopware/shopware/commit/d29775aa758f70d08e0c5999795c7c26d230e7d3 · Patch, WEB
- https://github.com/shopware/shopware/security/advisories/GHSA-5297-wrrp-rcj7 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-31447 · ADVISORY
- https://github.com/shopware/shopware · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 8 Apr 2024)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 8 Apr 2024)