Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:composer/craftcms/commerce@5.6.0
purl pkg:composer/craftcms/commerce@5.6.0
Vulnerabilities affecting this package (0)
Vulnerability Summary Fixed by
This package is not known to be affected by vulnerabilities.
Vulnerabilities fixed by this package (4)
Vulnerability Summary Aliases
VCID-97wt-uzgd-j7cy Craft Commerce is an ecommerce platform for Craft CMS. In versions 4.0.0 through 4.10.2 and 5.0.0 through 5.5.4, the PaymentsController::actionPay discloses some order data to unauthenticated users when an order number is provided and the email check fails during an anonymous payment. The JSON error response includes the serialized order object (order), which contains some sensitive fields such as customer email, shipping address, and billing address. The frontend payment flow's actionPay() retrieves orders by number before authorization is fully enforcedLoad order by number. This issue has been fixed in versions 4.11.0 and 5.6.0. CVE-2026-32270
GHSA-3vxg-x5f8-f5qf
VCID-gym5-pp2y-y3ed Craft Commerce is an ecommerce platform for Craft CMS. In versions 4.0.0 through 4.10.2 and 5.0.0 through 5.5.4, there is an SQL injection vulnerability in the Commerce TotalRevenue widget which allows any authenticated control panel user to achieve remote code execution through a four-step exploitation chain. The attack exploits unsanitized widget settings interpolated into SQL expressions, combined with PDO's default multi-statement query support, to inject a maliciously serialized PHP object into the queue table. When the queue consumer processes the injected job, the unrestricted unserialize() call in yii2-queue instantiates a GuzzleHttp FileCookieJar gadget chain whose __destruct() method writes a PHP webshell to the server's webroot. The complete chain requires only three HTTP requests, no administrative privileges, and results in arbitrary command execution as the PHP process user, with queue processing triggered via an unauthenticated endpoint. This issue has been fixed in versions 4.10.3 and 5.5.5. CVE-2026-32271
GHSA-875v-7m49-8x88
VCID-ke4n-z9fq-87ea 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-2026-31867
GHSA-vff3-pqq8-4cpq
VCID-nd31-ykw5-rqbt Craft Commerce is an ecommerce platform for Craft CMS. In versions 5.0.0 through 5.5.4, an SQL injection vulnerability exists where the ProductQuery::hasVariant and VariantQuery::hasProduct properties bypass the input sanitization blocklist added to ElementIndexesController in a prior security fix (GHSA-2453-mppf-46cj). The blocklist only strips top-level Yii2 Query properties such as where and orderBy, but hasVariant and hasProduct pass through untouched and internally call Craft::configure() on a subquery without sanitization, re-introducing SQL injection. Any authenticated control panel user can exploit this via boolean-based blind SQL injection to extract arbitrary database contents, including security keys that enable forging admin sessions for privilege escalation. This issue has been fixed in version 5.6.0. CVE-2026-32272
GHSA-r54v-qq87-px5r

Date Actor Action Vulnerability Source VulnerableCode Version
2026-06-13T06:29:05.925985+00:00 GHSA Importer Fixing VCID-97wt-uzgd-j7cy https://github.com/advisories/GHSA-3vxg-x5f8-f5qf 38.6.0
2026-06-13T06:29:05.231406+00:00 GHSA Importer Fixing VCID-nd31-ykw5-rqbt https://github.com/advisories/GHSA-r54v-qq87-px5r 38.6.0
2026-06-12T22:03:36.919564+00:00 GitLab Importer Fixing VCID-gym5-pp2y-y3ed https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/craftcms/commerce/CVE-2026-32271.yml 38.6.0
2026-06-12T22:03:35.111363+00:00 GitLab Importer Fixing VCID-97wt-uzgd-j7cy https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/craftcms/commerce/CVE-2026-32270.yml 38.6.0
2026-06-12T22:02:49.385360+00:00 GitLab Importer Fixing VCID-nd31-ykw5-rqbt https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/craftcms/commerce/CVE-2026-32272.yml 38.6.0
2026-06-12T15:51:13.459313+00:00 GitLab Importer Fixing VCID-ke4n-z9fq-87ea https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/craftcms/commerce/CVE-2026-31867.yml 38.6.0
2026-06-12T07:49:35.954701+00:00 GithubOSV Importer Fixing VCID-ke4n-z9fq-87ea https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-vff3-pqq8-4cpq/GHSA-vff3-pqq8-4cpq.json 38.6.0
2026-06-12T07:45:57.408629+00:00 GithubOSV Importer Fixing VCID-97wt-uzgd-j7cy https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-3vxg-x5f8-f5qf/GHSA-3vxg-x5f8-f5qf.json 38.6.0
2026-06-12T07:45:20.770455+00:00 GithubOSV Importer Fixing VCID-nd31-ykw5-rqbt https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-r54v-qq87-px5r/GHSA-r54v-qq87-px5r.json 38.6.0
2026-06-11T20:38:32.866845+00:00 GHSA Importer Fixing VCID-ke4n-z9fq-87ea https://github.com/advisories/GHSA-vff3-pqq8-4cpq 38.6.0