Security mailing lists by PureSourceCode

CVE-2026-31867

MEDIUM 6.3CVSS 4.0

Craft Commerce: Potential IDOR in Commerce carts

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.

Published
11 Mar 2026
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-639
Also known as
GHSA-vff3-pqq8-4cpq
Sources
NVDJSONOSV GHSA-vff3-pqq8-4cpqJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 4.0 MEDIUM 6.3 CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 4.8 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD craftcms craft_commerce
cpe:2.3:a:craftcms:craft_commerce:*:*:*:*:*:craft_cms:*:*
>= 4.0.0, < 4.11.0 4.11.0
NVD craftcms craft_commerce
cpe:2.3:a:craftcms:craft_commerce:*:*:*:*:*:craft_cms:*:*
>= 5.0.0, < 5.6.0 5.6.0
OSV Packagist craftcms/commerce >= 5.0.0, < 5.6.0 5.6.0
OSV Packagist craftcms/commerce >= 4.0.0, < 4.11.0 4.11.0

References

History

  • 25 Nov 2026 21:01 UTC · NVD: first stored (published 11 Mar 2026)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 10 Mar 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.