← Back to CVEs
CVE-2026-29172
HIGH8.8
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.
CVE Details
CVSS v3.1 Score8.8
SeverityHIGH
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredLOW
User InteractionNONE
Published3/10/2026
Last Modified3/11/2026
Sourcenvd
Honeypot Sightings0
Affected Products
craftcms:craft_commerce
Weaknesses (CWE)
CWE-89
References
https://github.com/craftcms/commerce/commit/b231b920b73db023e81e5b261b894d73e865c276(security-advisories@github.com)
https://github.com/craftcms/commerce/commit/e4e0f4107cd895d29290523637f077fe280407b1(security-advisories@github.com)
https://github.com/craftcms/commerce/security/advisories/GHSA-j3x5-mghf-xvfw(security-advisories@github.com)
https://github.com/craftcms/commerce/security/advisories/GHSA-j3x5-mghf-xvfw(134c704f-9b21-4f2e-91b3-4a467353bcc0)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.