Vulnerability

CVE-2026-29172

highCVSS 4.0 8.7Published 10 Mar 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

Craft Commerce is an ecommerce platform for Craft CMS. Prior to 4.10.2 and 5.5.3, Craft Commerce is vulnerable to SQL Injection in the purchasables table endpoint. The sort parameter is split by | and the first part (column name) is passed directly as an array key to orderBy() without whitelist validation. Yii2's query builder does NOT escape array keys, allowing an authenticated attacker to inject arbitrary SQL into the ORDER BY clause. This vulnerability is fixed in 4.10.2 and 5.5.3.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Craftcms craft commerce

Weakness type

References

  • github.com /craftcms/commerce/commit/b231b920b73db023e81e5b261b894d73e…
  • github.com /craftcms/commerce/commit/e4e0f4107cd895d29290523637f077fe2…
  • github.com /craftcms/commerce/security/advisories/GHSA-j3x5-mghf-xvfw

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning