PT-2026-24629 · Packagist · Craftcms/Commerce
Publicado
2026-03-10
·
Atualizado
2026-03-10
CVSS v4.0
1.9
Baixa
| Vetor | AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P |
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
- Navigate to Commerce -> Store Management -> Shipping Methods.
- Click "New Shipping Method".
- In the Name field, enter the following XSS payload:
html
<img src=x onerror=alert('XSS Shipping')>- Save the Shipping Method.
- Place a new order or edit an existing order.
- Set the order's Shipping Method to the one created in the previous steps.
- Navigate to the Orders index page (
/admin/commerce/orders). - Double-click the target order to open the details slideout.
- Result: The XSS payload executes.
Correção
XSS
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Enumeração de Fraquezas
Identificadores relacionados
Produtos afetados
Craftcms/Commerce