# CVE-2024-31447: Shopware has Improper Session Handling in store-api

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.50%, higher than 44% of CVEs (2026-12-01)
- Published: 2024-04-08T15:39:29.678Z
- Modified: 2026-09-10T03:50:11.143Z
- Also known as: GHSA-5297-wrrp-rcj7
- Weaknesses: CWE-613
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- shopware shopware: >= 6.3.5.0, < 6.5.8.8; >= 6.6.0.0-rc1, < 6.6.1.0; from 6.3.5.0 before 6.5.8.8; from 6.6.0.0 before 6.6.1.0
- shopware/core (Packagist): from 6.3.5.0 before 6.5.8.8; from 6.6.0.0-rc1 before 6.6.1.0
- shopware/platform (Packagist): from 6.3.5.0 before 6.5.8.8; from 6.6.0.0-rc1 before 6.6.1.0

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N`

## References

- <https://github.com/shopware/shopware/security/advisories/GHSA-5297-wrrp-rcj7> (vendor-advisory, web)
- <https://github.com/shopware/shopware/commit/5cc84ddd817ad0c1d07f9b3c79ab346d50514a77> (patch, web)
- <https://github.com/shopware/shopware/commit/d29775aa758f70d08e0c5999795c7c26d230e7d3> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-31447> (advisory)
- <https://github.com/shopware/shopware> (package)

## Sources

- CVE List: [CVE-2024-31447](https://www.cve.org/CVERecord?id=CVE-2024-31447), CVE Terms of Use, modified 2024-09-03
- GitHub Advisory Database: [GHSA-5297-wrrp-rcj7](https://github.com/advisories/GHSA-5297-wrrp-rcj7), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-31447](https://nvd.nist.gov/vuln/detail/CVE-2024-31447), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-31447 · Whole record: https://cve.day/CVE-2024-31447.json · Rebuilt by cve.day 2026-11-25T22:58:38.868Z
