craftcms/commerce
Affected
- introduced
5.0.0, fixed5.5.3(ecosystem)
Fixed versions
5.5.3
Fix
The export has no generic command for this ecosystem.
Advisory
Also known as: CVE-2026-29176
Craft Commerce has stored XSS in Inventory Location Name
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
Steps to Reproduce
html <img src=x onerror="alert('XSS')"> Impact
Mitigation
Sanitize the inventory location name field when rendering in the "Track Inventory" table.
Medium Basis: The source's own band: MODERATE
5.0.0, fixed 5.5.3 (ecosystem)5.5.3
The export has no generic command for this ecosystem.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0