CVE-2024-31447Shopware
Medium 5.3 No auth needed
Follow: this CVE · Shopware · Shopware We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 0.7% probability of exploitation in 30 days · percentile 48
- Auth required
- No
- Published
- Apr 8, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-613
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Shopware.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | shopware/core |
≥ 6.3.5.0 < 6.5.8.8 |
6.5.8.8 |
composer require "shopware/core:^6.5.8.8" |
| Packagist | shopware/core |
≥ 6.6.0.0-rc1 < 6.6.1.0 |
6.6.1.0 |
composer require "shopware/core:^6.6.1.0" |
| Packagist | shopware/platform |
≥ 6.3.5.0 < 6.5.8.8 |
6.5.8.8 |
composer require "shopware/platform:^6.5.8.8" |
| Packagist | shopware/platform |
≥ 6.6.0.0-rc1 < 6.6.1.0 |
6.6.1.0 |
composer require "shopware/platform:^6.6.1.0" |
Per OSV / GitHub Advisories (GHSA-5297-wrrp-rcj7). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| shopware | shopware | ≥ 6.3.5.0 < 6.5.8.8 |
| shopware | shopware | ≥ 6.6.0.0 < 6.6.1.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch
- github.com Vendor Advisory