CVE-2026-29177 Craft Commerce has Stored XSS in Craft Commerce Order Details Slideout

Low 1.9 Published Updated

Attackers can inject malicious JavaScript via order fields, executing code when users view order details in the Craft Commerce admin panel.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-29177?

CVE-2026-29177 is a low-severity cross-site scripting vulnerability in craftcms commerce, published on 10 Mar 2026. Any signed-in user can exploit it over the network, 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 Cross-Site Scripting (XSS) vulnerability exists in the Craft Commerce Order details. Malicious JavaScript can be injected via the Shipping Method Name, Order Reference, or Site Name. When a user opens the order details slideout via a double-click on the order index page, the injected payload executes. This vulnerability is fixed in 4.10.2 and 5.5.3.

Weakness: CWE-79

Which versions are affected by CVE-2026-29177?

4 open source packages ship an affected version, including craftcms/commerce. It affects 1 product.

PackageAffectedFixed in
craftcms/commerce PackagistFrom 4.0.04.10.2
craftcms/commerce PackagistFrom 4.0.04.10.2
craftcms/commerce PackagistFrom 5.0.05.5.3
craftcms/commerce PackagistFrom 5.0.05.5.3

Products include Craftcms Craft Commerce.

How do I fix CVE-2026-29177?

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-29177 being exploited?

There is no known exploitation of CVE-2026-29177 in the wild and no public exploit code.

Sources

Also known as GHSA-mj32-r678-7mvp.

Is CVE-2026-29177 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free