CVE-2026-29173
JSON

1.9low

Craft Commerce has Stored XSS while updating Order Status from Orders Table

Severity
1.9low CVSS:4.0 by GitHub_M
Exploit likelihood
0.44% (higher than 30% of CVEs)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-mqxf-2998-c6cp

Description

Craft Commerce is an ecommerce platform for Craft CMS. Prior to 4.10.2 and 5.5.3, a stored XSS vulnerability exists when a user tries to update the Order Status from the Commerce Orders Table. The Order Status Name is rendered without proper escaping, allowing script execution to occur. This vulnerability is fixed in 4.10.2 and 5.5.3.

Affected

Product or packageVersionsReported by
craftcms commerce>= 4.0.0 < 4.10.2, >= 5.0.0 < 5.5.3CVE List
craftcms/commerce (Packagist)from 4.0.0 before 4.10.2, from 5.0.0 before 5.5.3GitHub Advisory Database
craftcms craft_commercefrom 4.0.0 before 4.10.2, from 5.0.0 before 5.5.3NVD

All scores

GitHub_M1.9low CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P
GitHublow CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD4.8medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Craft Commerce is an ecommerce platform for Craft CMS. Prior to 4.10.2 and 5.5.3, a stored XSS vulnerability exists when a user tries to update the Order Status from the Commerce Orders Table. The Order Status Name is rendered without proper escaping, allowing script execution to occur. This vulnerability is fixed in 4.10.2 and 5.5.3.

GitHub Advisory Database

Summary

A stored XSS vulnerability exists when a user tries to update the Order Status from the Commerce Orders Table. The Order Status Name is rendered without proper escaping, allowing script execution to occur.


Proof of Concept

Required Permissions
  • Admin access (to edit/create Order Statuses)
Steps to Reproduce
  1. Log in with an admin account
  2. Navigate to Commerce → Settings → Order Statuses
  3. Create a new order status
  4. Set the Name field to:
<img src=x onerror="alert('Order Statuses XSS')">
  1. Save the order status
  2. Go to Commerce → Orders (make sure you placed any orders)
  3. From the left panel, select any Order Status (e.g., New)
  4. Select any order from the orders table → Click on the Gear Icon → then click "Update Order Status..."
  5. Notice the XSS execution
NVD (es)

Craft Commerce es una plataforma de comercio electrónico para Craft CMS. Antes de 4.10.2 y 5.5.3, existe una vulnerabilidad XSS almacenada cuando un usuario intenta actualizar el estado del pedido desde la tabla de pedidos de Commerce. El nombre del estado del pedido se renderiza sin el escape adecuado, permitiendo la ejecución de scripts. Esta vulnerabilidad está corregida en 4.10.2 y 5.5.3.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-29173 changed 2026-03-10CVE Terms of Use
GitHub Advisory DatabaseGHSA-mqxf-2998-c6cp changed 2026-03-13CC-BY-4.0
NVDCVE-2026-29173 changed 2026-06-17Public domain