Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. craftcms/commerce
  4. ›
  5. CVE-2026-29176

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

March 10, 2026

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.

References

  • github.com/advisories/GHSA-wj89-2385-gpx3
  • github.com/craftcms/commerce
  • github.com/craftcms/commerce/commit/da143df084563ddf0929d7c261bcc11d312e8004
  • github.com/craftcms/commerce/security/advisories/GHSA-wj89-2385-gpx3
  • nvd.nist.gov/vuln/detail/CVE-2026-29176

Code Behaviors & Features

Detect and mitigate CVE-2026-29176 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 5.0.0 before 5.5.3

Fixed versions

  • 5.5.3

Solution

Upgrade to version 5.5.3 or above.

Impact 4.6 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/craftcms/commerce/CVE-2026-29176.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 25 Mar 2026 00:17:44 +0000.