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

Published Mar 10, 2026
·
Updated

Summary 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.

Proof of Concept

Permissions Required - General - Access the control panel - Access Craft Commerce

- Craft Commerce - Manage inventory locations

Steps to Reproduce

1. Log in to the control panel 2. Navigate to Commerce → Inventory Locations 3. Create or edit a location 4. Set Name to the following payload: html <img src=x onerror="alert('XSS')"> 5. Save the location 6. Navigate to Commerce → Products and click "New Product" and click "New product variant" 7. The Inventory Location table loads, rendering the Inventory Location Name 8. XSS executes

Impact - Potential Session Hijacking - Potential Database Exfiltration - Potential Account Takeover by forcing a password change on the victim’s account. - Potential Privilege escalation, or creating new admin users.

Mitigation Sanitize the inventory location name field when rendering in the "Track Inventory" table.

Other sources

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.

MITRE

Affected Software

2 affected componentsFixes available
composer/craftcms/commerce>=5.0.0<=5.5.2
5.5.3
CraftCMS Craft Commerce Craft Cms>=5.0.0<5.5.3

Event History

Mar 10, 2026
Advisory Published
via GitHub·06:23 PM
Data Sourced
via GitHub·06:23 PM
DescriptionWeaknessAffected Software
CVE Published
via MITRE·07:59 PM
Data Sourced
via MITRE·07:59 PM
DescriptionWeakness
Data Sourced
via NVD·08:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
May 22, 58164
Event
via FIRST·09:56 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-29176?

CVE-2026-29176 is categorized as a high severity stored XSS vulnerability.

2

How do I fix CVE-2026-29176?

To fix CVE-2026-29176, update Craft Commerce to version 5.5.3 or later.

3

What is affected by CVE-2026-29176?

CVE-2026-29176 affects Craft Commerce versions between 5.0.0 and 5.5.2.

4

What type of vulnerability is CVE-2026-29176?

CVE-2026-29176 is a stored cross-site scripting (XSS) vulnerability.

5

Where does CVE-2026-29176 appear in Craft Commerce?

CVE-2026-29176 appears on the Commerce Settings - Inventory Locations page in the Name field.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203