All reports
Medium

Shopware Improper Session Handling in store-api account logout

Affected versions

Affected versions
>= 6.3.5.0, < 6.5.8.8
Fixed version
6.5.8.8
Affected versions
>= 6.6.0.0-rc1, < 6.6.1.0
Fixed version
6.6.1.0
Affected versions
>= 6.3.5.0, < 6.5.8.8
Fixed version
6.5.8.8
Affected versions
>= 6.6.0.0-rc1, < 6.6.1.0
Fixed version
6.6.1.0

Exploitation

CVE-2024-31447

Probability of exploitation in the next 30 days: 0.50%

FIRST EPSS · 2026-11-21

Description

Impact

When a authentificated 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.

Patches

The problem has been fixed with Shopware 6.6.1.0 and 6.5.8.8.

Workarounds

When you are not able to update, you can install the latest version of the Shopware Security Plugin.

Links

Credits

  • mdanilowicz