CVE-2024-31447 in Shopware
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-a...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, high complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Shopware | Shopware | ≥ 6.3.5.0, < 6.5.8.8 ≥ 6.6.0.0, < 6.6.1.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-31447 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-191375-M |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N |
| Published | 2024-04-08 |
| Last modified | 2025-09-10 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-613: CWE-613
Analysis AI-written, not human-reviewed
CVE-2024-31447 affects Shopware 6 versions 6.3.5.0 to 6.6.0.9 and 6.5.0.0 to 6.5.8.7, where an authenticated user can make a POST request to /store-api/account/logout that clears the cart but does not log the user out, impacting direct store-api usage.
An authenticated user can exploit this vulnerability by sending a POST request to the /store-api/account/logout endpoint, which will clear the user's cart but not log them out, potentially leading to unauthorized access to the user's account.
Questions
What is CVE-2024-31447?
CVE-2024-31447 affects Shopware 6 versions 6.3.5.0 to 6.6.0.9 and 6.5.0.0 to 6.5.8.7, where an authenticated user can make a POST request to /store-api/account/logout that clears the cart but does not log the user out, impacting direct store-api usage.
What is the CVSS score for CVE-2024-31447?
CVE-2024-31447 has CVSS 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N. EPSS: 0.7%.
Is CVE-2024-31447 actively exploited?
No confirmed active exploitation of CVE-2024-31447 as of 2026-05-30.
How do I remediate CVE-2024-31447?
Priority: MEDIUM. PSIRT: [email protected]
What systems are affected by CVE-2024-31447?
CVE-2024-31447 affects Shopware Shopware.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Shopware","product":"Shopware","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2025-09-10.