Skip to content
XSS Write-up Beginner

Reflected Cross Site Scripting (Awards 3500$ bounty)

A parameter in the Shopify GitHub integration setup URL was reflected into a JavaScript context without proper encoding, so a crafted link executed script in the victim's browser. An attacker could use this to run phishing or steal data from a logged-in owner or staff member who opened the link.

ShuttlerTech Follow

Published on jjainam16.medium.com

Bounty$3,500 View original

Hello, Hunters. You are here because you are struggling or want to advance in your career.

ShuttlerTech, on jjainam16.medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the installation_id parameter was inserted into a JavaScript context without encoding or validation, letting the value break out of the surrounding code.

Impact

An attacker could run script in the context of the Shopify GitHub integration page to conduct phishing or steal data from a logged-in owner or staff member.

What the attacker needed

Victim is logged in as owner or staff; victim opens a crafted link

How it was found

  1. Open the crafted setup URL with the tampered installation_id value and setup_action set to install.
  2. Log in with an owner or staff account.
  3. The script runs in the browser.

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 write-up has not been written yet. The Original tab links to the source.

When a website takes a value from the address bar and puts it into the page without cleaning it, an attacker can slip in their own script. Here the value was placed inside a script block, so the browser ran the attacker's code as if the site had written it. The victim has to be logged in and click a prepared link.

What is XSS?

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

More by ShuttlerTech

View all

1 more disclosed report, best first.

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.