Skip to content
Heist/ feed
Back to feed
Medium

Craft Commerce has Stored XSS in Inventory Location Name

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-29176
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 04:29 UTC · Revision 1

Source evidence

Craft Commerce has Stored XSS in Inventory Location Name

core-osv · Original source

Published 10 Mar 2026, 19:59 UTC

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.

osv:CVE-2026-29176
Complete source record
{
  "id": "792dc97e3e7c31b038817b6477cdb87a2ad78a6e9f396492f99a88dc529bf6bb",
  "url": "https://osv.dev/vulnerability/CVE-2026-29176",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Craft Commerce has Stored XSS in Inventory Location Name",
    "summary": "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.",
    "evidence": "osv:CVE-2026-29176",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-29176",
      "aliases": [
        "CVE-2026-29176",
        "GHSA-wj89-2385-gpx3"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/craftcms/commerce",
              "type": "GIT",
              "events": [
                {
                  "introduced": "266ccfd800264c4a0a7c22447112c097b0af7bae"
                },
                {
                  "fixed": "00debfb9b25ac0885cb0193dcb6ef4aba0c9e07e"
                },
                {
                  "fixed": "da143df084563ddf0929d7c261bcc11d312e8004"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:craftcms:craft_commerce:*:*:*:*:*:craft_cms:*:*",
                    "range": [
                      {
                        "introduced": "5.0.0"
                      },
                      {
                        "fixed": "5.5.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "da143df084563ddf0929d7c261bcc11d312e8004"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "5.5.2",
            "5.5.1",
            "5.5.0.1",
            "5.5.0",
            "5.4.10",
            "5.4.9",
            "5.4.8",
            "5.4.7.1",
            "5.4.7",
            "5.4.6",
            "5.4.5.1",
            "5.4.5",
            "5.4.4",
            "5.4.3",
            "5.4.2",
            "5.4.1.1",
            "5.4.1",
            "5.4.0",
            "5.3.13",
            "5.3.12",
            "5.3.11",
            "5.3.10",
            "5.3.8",
            "5.3.7",
            "5.3.6",
            "5.3.5",
            "5.3.4",
            "5.3.3",
            "5.3.2.2",
            "5.3.2.1",
            "5.3.2",
            "5.3.1",
            "5.3.0.2",
            "5.3.0.1",
            "5.3.0",
            "5.2.12.1",
            "5.2.12",
            "5.2.11",
            "5.2.10",
            "5.2.9.1",
            "5.2.9",
            "5.2.8",
            "5.2.5",
            "5.2.4",
            "5.2.3",
            "5.2.2.1",
            "5.2.2",
            "5.2.1",
            "5.2.0",
            "5.1.4",
            "5.1.3",
            "5.1.2",
            "5.1.0.1",
            "5.1.0",
            "5.0.19",
            "5.0.18",
            "5.0.17",
            "5.0.16.2",
            "5.0.16.1",
            "5.0.16",
            "5.0.15",
            "5.0.14",
            "5.0.11",
            "5.0.13",
            "5.0.12.1",
            "5.0.12",
            "5.0.11.1",
            "5.0.10.1",
            "5.0.10",
            "5.0.9",
            "5.0.8",
            "5.0.7",
            "5.0.6",
            "5.0.5",
            "5.0.4",
            "5.0.3",
            "5.0.2",
            "5.0.1",
            "5.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-29176.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:46.436916791Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/29xxx/CVE-2026-29176.json",
        "https://github.com/craftcms/commerce/security/advisories/GHSA-wj89-2385-gpx3",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-29176",
        "https://github.com/craftcms/commerce/commit/da143df084563ddf0929d7c261bcc11d312e8004"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79"
        ],
        "cna_assigner": "GitHub_M",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": ">= 4.0.0 < 4.10.2"
                  },
                  {
                    "last_affected": ">= 4.0.0 < 4.10.2"
                  },
                  {
                    "introduced": ">= 5.0.0 < 5.5.3"
                  },
                  {
                    "last_affected": ">= 5.0.0 < 5.5.3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/29xxx/CVE-2026-29176.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-29176",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 514616,
  "published_at": "2026-03-10T19:59:48.366+00:00"
}