CVE-2026-29174CWE-89

Craft Commerce has a SQL Injection in Commerce Inventory Table Sorting

High · published March 10, 2026

CVSS v4.0
8.7
EPSS
1%
Percentile
44.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
8.7 · HIGH
Vector
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
EPSS
0.00543 · 44.8th percentile
Weakness
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2026-03-10T19:55Z
EPSS history
Timeline
  • 10 MAR 19:55Z
    Craft Commerce has a SQL Injection in Commerce Inventory Table Sorting
    cvelistv5