Fetching external resources through svg images
An SVG image uploaded as an app icon could reference external resources, causing the server to fetch them. An attacker could use this to make requests from Shopify's servers to a server they control.
Originally disclosed on HackerOne
- Triaged in 2 hours
- Fixed in 12 days
- Paid in 18 days
- Disclosed after 19 days
Summary by the researcher
Moving on :)
The report
Hi,
I found the exactly same bug #97501 at https://app.shopify.com/services/partners/api_clients/<APP-ID> when uploading the svg image on app icon.
###Steps to reproduce it
- Make a new app at https://app.shopify.com/services/partners/api_clients
- Goto app setting
https://app.shopify.com/services/partners/api_clients/<APP-ID> - Now upload the attached svg image and change the xlink with your owner.
- Save changes and check your server log.

Thanks
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the application allowed SVG uploads and rendered or processed them server-side without blocking external resource references.
Impact
The server could be made to send a request to an attacker-controlled host.
What the attacker needed
A Shopify partner account; ability to upload an app icon
How it was found
- Create a new app in the partner dashboard.
- Open the app settings page.
- Upload a crafted SVG image as the app icon and set its external link to a server you control.
- Save the changes and check your server logs for a request from Shopify.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
An SVG image uploaded as an app icon could contain a link to an outside file, and the server may fetch it, letting the uploader see the request in their logs.
What is SSRF?
The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.