Every CVE Search/ Get API key

CVE-2024-31447

Shopware has Improper Session Handling in store-api

5.3 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
High
Availability
None

Exploit likelihood

0.50%Up 0.5 points since Apr 9, 2024
90%50%10%1%

What each source reports

CVE List Score used 5.3

Shopware has Improper Session Handling in store-api

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.

Record
CVE-2024-31447
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
Weakness
CWE-613
Updated
2026-11-02
EUVDEUVD-2024-1097 5.3

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.

Record
EUVD-2024-1097
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
Updated
2026-11-03
GitHub AdvisoriesGHSA-5297-wrrp-rcj7 5.3

Shopware Improper Session Handling in store-api account logout

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.

Record
GHSA-5297-wrrp-rcj7
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
Weakness
CWE-613
Updated
2026-11-02
NVD 5.3

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.

Record
CVE-2024-31447
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
Weakness
CWE-613
Updated
2026-11-02
OSV 5.3

Shopware has Improper Session Handling in store-api

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.

Record
CVE-2024-31447
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
Weakness
CWE-613
Updated
2026-11-02
OSVGHSA-5297-wrrp-rcj7 5.3

Shopware Improper Session Handling in store-api account logout

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.

Record
GHSA-5297-wrrp-rcj7
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
Weakness
CWE-613
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
shopware/core
Packagist
6.3.5.0 up to 6.5.8.8
6.5.8.8
shopware/platform
Packagist
6.3.5.0 up to 6.5.8.8
6.5.8.8
shopware/core
Packagist
6.6.0.0-rc1 up to 6.6.1.0
6.6.1.0
shopware/platform
Packagist
6.6.0.0-rc1 up to 6.6.1.0
6.6.1.0
shopware/core
Packagist
6.3.5.0 up to 6.5.8.8, plus listed versions
6.3.5.16.3.5.26.3.5.36.3.5.46.4.0.0
Show 45 moreShow less
6.4.0.0-RC16.4.1.06.4.1.16.4.1.26.4.10.06.4.10.16.4.11.06.4.11.16.4.12.06.4.13.06.4.14.06.4.15.06.4.15.16.4.15.26.4.16.06.4.16.16.4.17.06.4.17.16.4.17.26.4.18.06.4.18.16.4.19.06.4.2.06.4.2.16.4.20.06.4.20.16.4.20.26.4.3.06.4.3.16.4.4.06.4.4.16.4.5.06.4.5.16.4.6.06.4.6.16.4.7.06.4.8.06.4.8.16.4.8.26.4.9.06.5.0.06.5.0.0-rc16.5.0.0-rc26.5.0.0-rc36.5.0.0-rc4
6.5.8.8
shopware/platform
Packagist
6.3.5.0 up to 6.5.8.8, plus listed versions
6.3.5.16.3.5.26.3.5.36.3.5.46.4.0.0
Show 45 moreShow less
6.4.0.0-RC16.4.1.06.4.1.16.4.1.26.4.10.06.4.10.16.4.11.06.4.11.16.4.12.06.4.13.06.4.14.06.4.15.06.4.15.16.4.15.26.4.16.06.4.16.16.4.17.06.4.17.16.4.17.26.4.18.06.4.18.16.4.19.06.4.2.06.4.2.16.4.20.06.4.20.16.4.20.26.4.3.06.4.3.16.4.4.06.4.4.16.4.5.06.4.5.16.4.6.06.4.6.16.4.7.06.4.8.06.4.8.16.4.8.26.4.9.06.5.0.06.5.0.0-rc16.5.0.0-rc26.5.0.0-rc36.5.0.0-rc4
6.5.8.8
shopware/core
Packagist
6.6.0.0-rc1 up to 6.6.1.0, plus listed versions
v6.6.0.0v6.6.0.0-rc1v6.6.0.0-rc2v6.6.0.0-rc3v6.6.0.0-rc4
Show 6 moreShow less
v6.6.0.0-rc5v6.6.0.0-rc6v6.6.0.0-rc7v6.6.0.1v6.6.0.2v6.6.0.3
6.6.1.0
shopware/platform
Packagist
6.6.0.0-rc1 up to 6.6.1.0, plus listed versions
v6.6.0.0v6.6.0.0-rc1v6.6.0.0-rc2v6.6.0.0-rc3v6.6.0.0-rc4
Show 6 moreShow less
v6.6.0.0-rc5v6.6.0.0-rc6v6.6.0.0-rc7v6.6.0.1v6.6.0.2v6.6.0.3
6.6.1.0

History

History
RecordedChangedSources
aliases, publishedEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2024-31447 is a medium vulnerability (CVSS 5.3) in Shopware, published April 8, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.50%, the 42nd percentile. Fixed in shopware/core 6.5.8.8.

References

This page doesn't list everything

Left out here: 56 versions. The JSON record has them.

MoveEnter Open