Description
Craft Commerce is an ecommerce platform for Craft CMS. Prior to 4.11.0 and 5.6.0, An Insecure Direct Object Reference (IDOR) vulnerability exists in Craft Commerce’s cart functionality that allows users to hijack any shopping cart by knowing or guessing its 32-character number. The CartController accepts a user-supplied number parameter to load and modify shopping carts. No ownership validation is performed - the code only checks if the order exists and is incomplete, not whether the requester has authorization to access it. This vulnerability enables the takeover of shopping sessions and potential exposure of PII. This vulnerability is fixed in 4.11.0 and 5.6.0.
References (2)
Core 2
Core References
Vendor Advisory x_refsource_confirm
https://github.com/craftcms/commerce/security/advisories/GHSA-vff3-pqq8-4cpq
Issue Tracking x_refsource_misc
https://github.com/craftcms/commerce/pull/4207
Scores
CVSS v3
4.8
EPSS
0.0028
EPSS Percentile
19.9%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-639
Status
published
Products (1)
craftcms/craft_commerce
4.0.0 - 4.11.0
Published
Mar 11, 2026
Tracked Since
Mar 12, 2026