نسخههای متأثر
Composercraftcms/commerce
- نسخههای متأثر
- >= 4.0.0, <= 4.10.1
- نسخهٔ اصلاحشده
- 4.10.2
Composercraftcms/commerce
- نسخههای متأثر
- >= 5.0.0, <= 5.5.2
- نسخهٔ اصلاحشده
- 5.5.3
بهرهبرداری
شرح آسیبپذیری
Summary
A stored XSS vulnerability exists when a user tries to update the Order Status from the Commerce Orders Table. The Order Status Name is rendered without proper escaping, allowing script execution to occur.
Proof of Concept
Required Permissions
Admin access (to edit/create Order Statuses)
Steps to Reproduce
Log in with an admin account
Navigate to Commerce → Settings → Order Statuses
Create a new order status
Set the Name field to:
<img src=x onerror="alert('Order Statuses XSS')">
Save the order status
Go to Commerce → Orders (make sure you placed any orders)
From the left panel, select any Order Status (e.g., New)
Select any order from the orders table → Click on the Gear Icon → then click "Update Order Status..."
Notice the XSS execution
پیوندها
- https://github.com/advisories/GHSA-mqxf-2998-c6cp
- https://github.com/craftcms/commerce
- https://github.com/craftcms/commerce/commit/60cdc505c03b6fa2f59715e8c060114b66334afa
- https://github.com/craftcms/commerce/commit/a2ea853935ef03297ea1298bdb0d8c55ec5daf7b
- https://github.com/craftcms/commerce/security/advisories/GHSA-mqxf-2998-c6cp
- https://nvd.nist.gov/vuln/detail/CVE-2026-29173
گزارشدهندگان
- mHe4am

