CVE-2024-31447 | 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.

Published: 2024-04-08 Last update: 2025-09-10 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2024-31447 is rated Low Risk (34.4/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.16%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2024-31447

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2025-11-21 0.27% 0.16% -0.10%
2 2025-11-18 0.16% 0.27% +0.10%
3 2025-09-11 0.16%

Full EPSS history (8 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2024-31447

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
5.3 3.1 MEDIUM
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:N)
Service keeps running; no real outage angle.
1.6 3.6 [email protected]

Weakness enumeration for CVE-2024-31447

GitHub Security Advisory for CVE-2024-31447

GHSA-5297-wrrp-rcj7 · Severity: medium · Ecosystem: composer — Shopware Improper Session Handling in store-api account logout

Affected software / configurations for CVE-2024-31447

Vendor Product Version Raw CPE
shopware shopware >= 6.3.5.0, < 6.5.8.8 cpe:2.3:a:shopware:shopware:*:*:*:*:*:*:*:*
shopware shopware >= 6.6.0.0, < 6.6.1.0 cpe:2.3:a:shopware:shopware:*:*:*:*:*:*:*:*

References for CVE-2024-31447

cvelogic Threat Intelligence