Shopify · Report #267177
stored xss in invited team member via email parameter
Validstatus
mediumseverity
$500bounty
16upvotes
3 Nov 2017disclosed
How it was found
Hey there, while testing your program I found a stored XSS vulnerability which can placed by owners or other staff members who have ability to manage members and it will triggered by visiting invited team member page (e.g. https://partners.shopify.com/642416/invitations/15406).
Reproduction Steps
- login to partners.shopify.com.
- navigate to Team (e.g. https://partners.shopify.com/642416/memberships).
- click on Invite owner.
- use
<svg/onload=alert(document.cookie)>[email protected]as email address. - click on Send invite.
- you'll see a warning: There was a problem connecting to Shopify.
- navigate to Team section again (e.g. https://partners.shopify.com/642416/memberships).
- open invited user page (e.g. https://partners.shopify.com/642416/invitations/15411).
note: it does not matter who send the invitation, attack can be triggered by other team members (including owners) by opening invitation page.
also attached two file to show you that this vulnerability can placed by both owners and staff members with manage members access.