Skip to content
XSS Disclosed report Beginner

Content Spoofing

The Shopify admin reflected a URL parameter into the page, letting an attacker display arbitrary text as if it were a legitimate error message. An attacker could craft a link that shows fake content to a logged-in admin.

zerohat Follow

Originally disclosed on HackerOne

  • Triaged in 5 days
  • Fixed in 9 days
  • Paid in 9 days
  • Disclosed after 9 days

Hi, Content Spoofing almost all in the myshopify admin account. Content Spoofing an attack technique used to trick a user into thinking that fake web site content is legitimate data.

https://[YOURSHOP].myshopify.com/admin?error=CONTENT SPOOFING

https://[YOURSHOP].myshopify.com/admin/orders?error=CONTENT SPOOFING

https://[YOURSHOP].myshopify.com/admin/products?error=CONTENT SPOOFING

https://[YOURSHOP].myshopify.com/admin/customers?error=CONTENT SPOOFING

https://[YOURSHOP].myshopify.com/admin/reports?error=CONTENT SPOOFING

https://[YOURSHOP].myshopify.com/admin/discounts?error=CONTENT SPOOFING

https://[YOURSHOP].myshopify.com/admin/dashboard/online?error=CONTENT SPOOFING

https://[YOURSHOP].myshopify.com/admin/apps?error=CONTENT SPOOFING

https://[YOURSHOP].myshopify.com/admin/settings/general?error=CONTENT SPOOFING

Attachments

contentspoofing.png
contentspoofing.png From the original on HackerOne

The original report as published on HackerOne, by zerohat. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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 reflected the 'error' query parameter into the page without validating or encoding it.

What the attacker needed

Victim clicks a crafted link

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.

Content spoofing means a website takes text from the address bar and shows it on the page without checking it. Here, adding a value to the 'error' parameter made the admin page display that text as if it were a real error. An attacker could send a link that makes the page show a convincing but fake message.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More from Shopify

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.