Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-29172— Craft Commerce has a SQL Injection in Commerce Purchasables Table Sorting

Quick assessment

Affected
craftcms commerce
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Craft Commerce是Craft CMS开源的一个电子商务平台。 Craft Commerce 4.10.2之前版本和5.5.3之前版本存在SQL注入漏洞,该漏洞源于purchasables表端点中sort参数未经验证直接用于SQL查询,可能导致SQL注入攻击。

AI Predicted 8.1 Difficulty: Easy EPSS 0.54% · P44
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-29172

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Craft Commerce has a SQL Injection in Commerce Purchasables Table Sorting
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
Source: CVE Program / CVE List V5
Vulnerability Title
Craft Commerce SQL注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Craft Commerce是Craft CMS开源的一个电子商务平台。 Craft Commerce 4.10.2之前版本和5.5.3之前版本存在SQL注入漏洞,该漏洞源于purchasables表端点中sort参数未经验证直接用于SQL查询,可能导致SQL注入攻击。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
craftcms commerce >= 4.0.0 < 4.10.2 -

II. Public POCs for CVE-2026-29172

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-29172

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-29172 (2)

Vendor Advisories for CVE-2026-29172 (1)

Same Patch Batch · craftcms · 2026-03-10 · 7 CVEs total

CVE-2026-29113 2.3 LOW Craft has a potential information disclosure vulnerability in preview tokens
CVE-2026-29173 Craft Commerce has Stored XSS while updating Order Status from Orders Table
CVE-2026-29175 Multiple Stored XSS in Commerce Inventory Page Leading to Session Hijacking
CVE-2026-29176 Craft Commerce has Stored XSS in Inventory Location Name
CVE-2026-29174 Craft Commerce has a SQL Injection in Commerce Inventory Table Sorting
CVE-2026-29177 Craft Commerce has Stored XSS in Craft Commerce Order Details Slideout

IV. Related Vulnerabilities

V. Comments for CVE-2026-29172

No comments yet


Leave a comment