GitHub Advisoryadvisory · Packagist

GHSA-mj32-r678-7mvp Craft Commerce has stored XSS in Craft Commerce Order Details Slideout

LOW Published 2026-03-10 Modified 2026-03-10 Official page ↗
Aliases
CVE-2026-29177
Ecosystem
Packagist
Packages
craftcms/commerce
Severity
Low
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
Weaknesses
CWE-79
Reviewed
2026-03-10

Affected packages

• Packagist craftcms/commerce: >= 4.0.0, < 4.10.2 → fixed in 4.10.2 • Packagist craftcms/commerce: >= 5.0.0, < 5.5.3 → fixed in 5.5.3

Description

Summary A Stored Cross-Site Scripting (XSS) vulnerability exists in the Craft Commerce Order details. Malicious JavaScript can be injected via the Shipping Method Name, Order Reference, or Site Name. When a user opens the order details slideout via a double-click on the order index page, the injected payload executes. Reproduction Steps 1. Navigate to Commerce -> Store Management -> Shipping Methods. 1. Click "New Shipping Method". 1. In the Name field, enter the following XSS payload: ```html ``` 1. Save the Shipping Method. 1. Place a new order or edit an existing order. 1. Set the order's Shipping Method to the one created in the previous steps. 1. Navigate to the Orders index page (`/admin/commerce/orders`). 1. Double-click the target order to open the details slideout. 1. Result: The XSS payload executes.

Related

Alias · CVE (1)

  • CVE-2026-29177 Craft Commerce is an ecommerce platform for Craft CMS. vulnerability

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References