SQL Injection Affecting craftcms/commerce package, versions >=5.0.0-beta.1, <5.5.3


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.01% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-CRAFTCMSCOMMERCE-15457659
  • published11 Mar 2026
  • disclosed10 Mar 2026
  • creditHesham

Introduced: 10 Mar 2026

New Malicious CVE-2026-29174  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Avoid using all malicious instances of the craftcms/commerce package.

Overview

craftcms/commerce is a Craft Commerce

Affected versions of this package are vulnerable to SQL Injection in the processing of the sort[0][direction] and sort[0][sortField] parameters within the inventory levels table data endpoint. An attacker can execute arbitrary SQL commands by supplying crafted input to these parameters. This is only exploitable if the attacker is authenticated and has access to the Commerce Inventory section with permissions to manage inventory stock levels.

CVSS Base Scores

version 4.0
version 3.1