What’s Vulnerable › Vulnerabilities
CVE-2024-31447: Shopware has Improper Session Handling in store-api
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-04-08 · updated 2026-06-17
- Weakness: CWE-613
Description
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.
Affected products
- shopware: from 6.3.5.0 before 6.5.8.8; from 6.6.0.0 before 6.6.1.0 — fixed in 6.5.8.8, 6.6.1.0
How to fix
Upgrade to a fixed version: shopware 6.5.8.8, 6.6.1.0. Check the vendor advisory for mitigations.
References
- https://github.com/shopware/shopware/commit/5cc84ddd817ad0c1d07f9b3c79ab346d50514a77
- https://github.com/shopware/shopware/commit/d29775aa758f70d08e0c5999795c7c26d230e7d3
- https://github.com/shopware/shopware/security/advisories/GHSA-5297-wrrp-rcj7
- https://github.com/shopware/shopware/commit/5cc84ddd817ad0c1d07f9b3c79ab346d50514a77
- https://github.com/shopware/shopware/commit/d29775aa758f70d08e0c5999795c7c26d230e7d3
- https://github.com/shopware/shopware/security/advisories/GHSA-5297-wrrp-rcj7
Get alerted when CVE-2024-31447 or the next vulnerability affects your stack