Advisory record · GHSA-j3x5-mghf-xvfw

Craft Commerce is Vulnerable to SQL Injection in Commerce Purchasables Table Sorting

CVSS 8.7 HighEPSS 0.0047 · 41st percentile

Published by the GitHub Advisory Database at 10 Mar 2026, 18:23 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
craftcms/commercePackagist>=4.0.0, <4.10.2 || >=5.0.0, <5.5.34.10.2, 5.5.3
Identifiers
GHSA-j3x5-mghf-xvfw · CVE-2026-29172 · PKSA-hf29-t8gq-x1bd
Weakness (CWE)
CWE-89
Published
10 Mar 2026
Updated
13 Mar 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Craft Commerce versions >=4.0.0 and <4.10.2, and >=5.0.0 and <5.5.3, are vulnerable to SQL injection through the sort parameter of the purchasables table endpoint. An authenticated control panel user with permission to manage and edit orders can inject arbitrary SQL into the ORDER BY clause, allowing data to be extracted or data and schema to be modified or destroyed. Upgrade to craftcms/commerce 4.10.2 or 5.5.3.

Written 3 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
8.7 High 4.0 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 CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0047, the 41st percentile, on 15 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:26 UTC First seen by agentprime
  2. 31 Oct 2026, 14:26 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.