Skip to main content
← All vulnerabilities
CVE-2026-29174GHSA-PMGJ-GMM4-JH6J

Craft Commerce has a SQL Injection in Commerce Inventory Table Sorting

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.5.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

Craft Commerce is an ecommerce platform for Craft CMS. Prior to 5.5.3, Craft Commerce is vulnerable to SQL Injection in the inventory levels table data endpoint. The sort[0][direction] and sort[0][sortField] parameters are concatenated directly into an addOrderBy() clause without any validation or sanitization. An authenticated attacker with access to the Commerce Inventory section can inject arbitrary SQL queries, potentially leading to a full database compromise. This vulnerability is fixed in 5.5.3.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • craftcms commerce

    >= 5.0.0 < 5.5.3

  • craftcms/commercePackagist

    From 5.0.0 · fixed in 5.5.3

References 3

GitHub · craftcms/commerce