TROYANOSYVIRUS
Back to CVEs

CVE-2026-31867

MEDIUM
4.8

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.

CVE Details

CVSS v3.1 Score4.8
SeverityMEDIUM
CVSS VectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L
Attack VectorNETWORK
ComplexityHIGH
Privileges RequiredNONE
User InteractionNONE
Published3/11/2026
Last Modified3/17/2026
Sourcenvd
Honeypot Sightings0

Affected Products

craftcms:craft_commerce

Weaknesses (CWE)

CWE-639

IOC Correlations

No correlations recorded

This product uses data from the NVD API but is not endorsed or certified by the NVD.