You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
<imgsrc=xonerror="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..."
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Learn more on MITRE.
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
Steps to Reproduce
References