{"id":"CVE-2026-29173","aliases":["CVE-2026-29173","GHSA-mqxf-2998-c6cp"],"related":[],"kind":"vulnerability","state":"published","title":"Craft Commerce has Stored XSS while updating Order Status from Orders Table","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"## Summary\nA 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.\n\n---\n## Proof of Concept\n### Required Permissions\n- Admin access (to edit/create Order Statuses)\n\n### Steps to Reproduce\n1. Log in with an admin account\n2. Navigate to **Commerce** → **Settings** → **Order Statuses**\n3. Create a new order status\n4. Set the **Name** field to:\n```html\n<img src=x onerror=\"alert('Order Statuses XSS')\">\n```\n5. Save the order status\n6. Go to Commerce → Orders (make sure you placed any orders)\n7. From the left panel, select any Order Status (e.g., New)\n8. Select any order from the orders table → Click on the Gear Icon → then click \"Update Order Status...\"\n9. Notice the XSS execution","format":"markdown","source":"ghsa"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-03-10T18:23:17.000Z","modified":"2026-06-17T10:29:43.047Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS: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","score":1.9,"rating":"LOW"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS: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","score":1.9,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS: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","rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":">= 4.0.0 < 4.10.2","status":"affected"},{"version":">= 5.0.0 < 5.5.3","status":"affected"}],"vendor":"craftcms","product":"commerce","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"4.0.0","status":"affected","fixed":"4.10.2"}],"ecosystem":"Packagist","package":"craftcms/commerce","purl":"pkg:composer/craftcms/commerce","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.0.0","status":"affected","fixed":"5.5.3"}],"ecosystem":"Packagist","package":"craftcms/commerce","purl":"pkg:composer/craftcms/commerce","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"4.0.0","fixed":"4.10.2"},{"status":"affected","introduced":"5.0.0","fixed":"5.5.3"}],"vendor":"craftcms","product":"craft_commerce","cpe":"cpe:2.3:a:craftcms:craft_commerce:*:*:*:*:*:craft_cms:*:*","source":"nvd"}],"references":[{"url":"https://github.com/craftcms/commerce/security/advisories/GHSA-mqxf-2998-c6cp","tags":["exploit","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/craftcms/commerce/commit/60cdc505c03b6fa2f59715e8c060114b66334afa","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/craftcms/commerce/commit/a2ea853935ef03297ea1298bdb0d8c55ec5daf7b","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-29173","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/craftcms/commerce","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-03-10T20:09:40.307Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-29173","url":"https://www.cve.org/CVERecord?id=CVE-2026-29173","licence":"CVE Terms of Use","modified":"2026-03-10T20:12:40.044Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mqxf-2998-c6cp","url":"https://github.com/advisories/GHSA-mqxf-2998-c6cp","licence":"CC-BY-4.0","modified":"2026-03-13T04:22:43.729Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-29173","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-29173","licence":"Public domain","modified":"2026-06-17T10:29:43.047Z"}],"updatedAt":"2026-11-25T22:59:15.650Z","epss":{"score":0.00442,"percentile":0.30292,"date":"2026-11-30T12:00:22.000Z"}}