PT-2026-24416 · Pixel & Tonic · Craft Commerce
Mhe4Am
·
Published
2026-03-10
·
Updated
2026-03-10
·
CVE-2026-29174
CVSS v3.1
8.8
High
| Vector | AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Craft Commerce versions prior to 5.5.3
Description
Craft Commerce, an ecommerce platform for Craft CMS, has a SQL Injection issue in the inventory levels table data endpoint. The
sort[0][direction] and sort[0][sortField] parameters are directly added to an addOrderBy() clause without proper validation or sanitization. An authenticated attacker with access to the Commerce Inventory section can inject SQL queries, potentially compromising the entire database.Recommendations
Update to version 5.5.3 or later.
Exploit
Fix
SQL injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Craft Commerce