SCA: security update for craftcms/commerce (GHSA-j3x5-mghf-xvfw)

high Tenable Cloud Security Plugin ID 438571

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-29172)

Solution

Update the craftcms/commerce library and its related packages to version 4.10.2 or later.

See Also

https://github.com/advisories/GHSA-j3x5-mghf-xvfw

Plugin Details

Severity: High

ID: 438571

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 3/10/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.88

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 7

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2026-29172

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 8.7

Threat Score: 7.4

Threat Vector: CVSS:4.0/E:P

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/10/2026

Vulnerability Publication Date: 3/10/2026

Reference Information

CVE: CVE-2026-29172

cwe: CWE-89