Craft Commerce has a SQL Injection in Commerce Inventory Table Sorting
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| craftcms | commerce | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Craftcms | Commerce |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-pmgj-gmm4-jh6j | Craft Commerce is vulnerable to SQL Injection in Commerce Inventory Table Sorting |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.491% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Craftcms craft Commerce
|
|
| CPEs | cpe:2.3:a:craftcms:craft_commerce:*:*:*:*:*:craft_cms:*:* | |
| Vendors & Products |
Craftcms craft Commerce
|
|
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Craftcms
Craftcms commerce |
|
| Vendors & Products |
Craftcms
Craftcms commerce |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | Craft Commerce has a SQL Injection in Commerce Inventory Table Sorting | |
| Weaknesses | CWE-89 | |
| References |
| |
| Metrics |
cvssV4_0
|