Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. craftcms/commerce
  4. ›
  5. GHSA-h9r9-2pxg-cx9m

GHSA-h9r9-2pxg-cx9m: Craft Commerce has Stored XSS in Shipping Zone (Name & Description) Fields Leading to Potential Privilege Escalation

February 2, 2026

A stored XSS vulnerability in Craft Commerce allows attackers to execute malicious JavaScript in an administrator’s browser. This occurs because the Shipping Zone (Name & Description) fields in the Store Management section are not properly sanitized before being displayed in the admin panel.


References

  • github.com/advisories/GHSA-h9r9-2pxg-cx9m
  • github.com/craftcms/commerce
  • github.com/craftcms/commerce/commit/fa273330807807d05b564d37c88654cd772839ee
  • github.com/craftcms/commerce/releases/tag/4.10.1
  • github.com/craftcms/commerce/releases/tag/5.5.2
  • github.com/craftcms/commerce/security/advisories/GHSA-h9r9-2pxg-cx9m

Code Behaviors & Features

Detect and mitigate GHSA-h9r9-2pxg-cx9m with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 4.0.0-RC1 before 4.10.1, all versions starting from 5.0.0-RC1 before 5.5.2

Fixed versions

  • 5.5.2
  • 4.10.1

Solution

Upgrade to versions 4.10.1, 5.5.2 or above.

Impact 5.2 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:H/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/GHSA-h9r9-2pxg-cx9m.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:05 +0000.