CVE-2026-29176 Craft Commerce has Stored XSS in Inventory Location Name

Medium 4.8 Published Updated

Stored XSS in Craft Commerce allows attackers to execute arbitrary JavaScript when administrators edit inventory locations, potentially leading to account takeover.

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-29176?

CVE-2026-29176 is a medium-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 5.5.3, A stored XSS vulnerability exists in the Commerce Settings - Inventory Locations page. The Name field is rendered without proper HTML escaping, allowing an attacker to execute arbitrary JavaScript. This XSS triggers when an administrator (or user with product editing permissions) creates or edits a variant product. This vulnerability is fixed in 5.5.3.

Weakness: CWE-79

Which versions are affected by CVE-2026-29176?

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

PackageAffectedFixed in
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-29176?

Upgrade craftcms/commerce to 5.5.3 or later.

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

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

Sources

Also known as GHSA-wj89-2385-gpx3.

Is CVE-2026-29176 in your software?

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

Check your SBOMs for free