๐Ÿ” CVE Alert

CVE-2026-29172

UNKNOWN 0.0

Craft Commerce has a SQL Injection in Commerce Purchasables Table Sorting

CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-89
Vendor craftcms
Product commerce
Published Mar 10, 2026
Last Updated Mar 11, 2026
Stay Ahead of the Next One

Get instant alerts for craftcms commerce

Be the first to know when new unknown vulnerabilities affecting craftcms commerce are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

Affected Versions

craftcms / commerce
>= 4.0.0 < 4.10.2 >= 5.0.0 < 5.5.3

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/craftcms/commerce/security/advisories/GHSA-j3x5-mghf-xvfw github.com: https://github.com/craftcms/commerce/commit/b231b920b73db023e81e5b261b894d73e865c276 github.com: https://github.com/craftcms/commerce/commit/e4e0f4107cd895d29290523637f077fe280407b1