HexBrain

Shopify · Report #1940245

Reflected XSS on help.shopify.com

Validstatus
lowseverity
$500bounty
111upvotes
25 Jan 2024disclosed

Summary

The returnTo parameter on help.shopify.com/en/support/confirm-account-details was vulnerable to XSS by using the javascript: protocol for the URL. In this case, the exploit relies on:

  1. an account being in an incomplete state
  2. the account holder clicking on the exploit URL
  3. the account holder logging into help.shopify.com
  4. the account holder clicking the continue button

How it was found

Summary:

Reflected Cross Site Scripting (XSS) on https://help.shopify.com/en/support/confirm-account-details?returnTo=

Platform(s) affected:

All platforms in other languages, exp:

Steps To Reproduce:

  1. Open the URL https://help.shopify.com/en/support/confirm-account-details?returnTo=javascript:alert(document.cookie)
  2. Make login
  3. Back again to https://help.shopify.com/en/support/confirm-account-details?returnTo=javascript:alert(document.cookie)
  4. Click on button "Continue"
  5. The JS will execute.

Notes:

Supporting Material:

Impact

The attacker can execute javascript code and redirect targets for others pages.

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original