Read the docs
TI-2026-23289 Aliases CVE-2026-29172GHSA-j3x5-mghf-xvfw

Craft Commerce has a SQL Injection in Commerce Purchasables Table Sorting

Priority HIGH 79CWE-89Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
SQL injection
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-89.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00474 41st percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed craftcms/commerce (Packagist): 4.10.2, 5.5.3

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Craft CMScommerce>= 4.0.0 < 4.10.2; >= 5.0.0 < 5.5.3—No fix listedCNA
—craftcms/commerce (Packagist)4.0.0 to before 4.10.24.10.2Patch availableGHSA-j3x5-mghf-xvfw
—craftcms/commerce (Packagist)5.0.0 to before 5.5.35.5.3Patch availableGHSA-j3x5-mghf-xvfw
  • commerce VendorCraft CMS Affected >= 4.0.0 < 4.10.2; >= 5.0.0 < 5.5.3 Fixed in — No fix listed CNA
  • craftcms/commerce (Packagist) Vendor— Affected 4.0.0 to before 4.10.2 Fixed in 4.10.2 Patch available GHSA-j3x5-mghf-xvfw
  • craftcms/commerce (Packagist) Vendor— Affected 5.0.0 to before 5.5.3 Fixed in 5.5.3 Patch available GHSA-j3x5-mghf-xvfw

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:craftcms:craft_commerce:*:*:*:*:*:craft_cms:*:*4.0.0 to before 4.10.2; 5.0.0 to before 5.5.3VulnerableCraft CMS
  • cpe:2.3:a:craftcms:craft_commerce:*:*:*:*:*:craft_cms:*:* Versions 4.0.0 to before 4.10.2; 5.0.0 to before 5.5.3 Vulnerable ·Craft CMS

Remediation

  • Fix · GHSA-j3x5-mghf-xvfw craftcms/commerce (Packagist) Fixed in 4.10.2 Advisory →
  • Fix · GHSA-j3x5-mghf-xvfw craftcms/commerce (Packagist) Fixed in 5.5.3 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-29172
  2. 2026-10-03 Alias added: GHSA-j3x5-mghf-xvfw

References

  • TI-2026-23292 Multiple Stored XSS in Commerce Inventory Page Leading to Session Hijacking CVSS 4.0HIGH 8.6
  • TI-2026-20631 Craft Commerce has Stored XSS in Shipping Zone (Name & Description) Fields Leading to Potential Privilege Escalation CVSS 4.0MEDIUM 6.1
  • TI-2026-20601 Craft Commerce has Stored XSS in Inventory Location Address Leading to Potential Privilege Escalation CVSS 4.0MEDIUM 6.1
  • TI-2026-20600 Craft Commerce has Stored XSS in Tax Zones (Name & Description) Leading to Potential Privilege Escalation CVSS 4.0MEDIUM 6.1
  • TI-2026-20599 Craft Commerce has Stored XSS in Tax Categories (Name & Description) Fields Leading to Potential Privilege Escalation CVSS 4.0MEDIUM 6.1
  • TI-2026-20598 Craft CMS has Stored XSS in Tax Rates Name Leading to Potential Privilege Escalation CVSS 4.0MEDIUM 6.1
See all 16 →

Sources