CVE-2026-29173 Craft Commerce has Stored XSS while updating Order Status from Orders Table
Attackers can inject malicious scripts via Order Status names in Craft Commerce, leading to stored XSS and potential session hijacking.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2026-29173?
CVE-2026-29173 is a low-severity cross-site scripting vulnerability in craftcms commerce, published on 10 Mar 2026. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2026-29173?
4 open source packages ship an affected version, including craftcms/commerce. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
craftcms/commerce Packagist | From 4.0.0 | 4.10.2 |
craftcms/commerce Packagist | From 4.0.0 | 4.10.2 |
craftcms/commerce Packagist | From 5.0.0 | 5.5.3 |
craftcms/commerce Packagist | From 5.0.0 | 5.5.3 |
Products include Craftcms Craft Commerce.
How do I fix CVE-2026-29173?
Upgrade craftcms/commerce to a fixed version for your release line: 4.10.2 or 5.5.3.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-29173 being exploited?
There is no known exploitation of CVE-2026-29173 in the wild and no public exploit code.
Other vulnerabilities in craftcms commerce
- CVE-2026-29172 Craft Commerce has a SQL Injection in Commerce Purchasables Table Sorting
- CVE-2026-29174 Craft Commerce has a SQL Injection in Commerce Inventory Table Sorting
- CVE-2026-29175 Multiple Stored XSS in Commerce Inventory Page Leading to Session Hijacking
- CVE-2026-31867 Craft Commerce has a Potential IDOR in Commerce carts
- CVE-2026-25482 Craft Commerce has Stored DOM XSS in Order Status Name (Reflects in "Recent Orders" Dashboard Widget)
Sources
Also known as GHSA-mqxf-2998-c6cp.