CVE-2026-29176
Stored XSS in Craft Commerce Inventory Locations Allows JS Execution
Publication date: 2026-03-10
Last updated on: 2026-03-11
Assigner: GitHub, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| craftcms | craft_commerce | From 5.0.0 (inc) to 5.5.3 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-79 | The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a stored Cross-Site Scripting (XSS) issue in Craft Commerce, an ecommerce platform for Craft CMS. Specifically, before version 5.5.3, the Name field on the Commerce Settings - Inventory Locations page is not properly escaped for HTML. This allows an attacker to inject and execute arbitrary JavaScript code when an administrator or a user with product editing permissions creates or edits a variant product.
How can this vulnerability impact me? :
The vulnerability can allow an attacker to execute arbitrary JavaScript in the context of an administrator or authorized user. This can lead to unauthorized actions such as stealing session tokens, performing actions on behalf of the user, or injecting malicious content, potentially compromising the security and integrity of the ecommerce platform.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
I don't know
How can this vulnerability be detected on my network or system? Can you suggest some commands?
I don't know
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, you should upgrade Craft Commerce to version 5.5.3 or later, where the stored XSS vulnerability in the Commerce Settings - Inventory Locations page has been fixed.