Skip to content
XSS Write-up Intermediate

DOM XSS bug affecting tinder shopify Yelp

A DOM-based cross-site scripting vulnerability existed in a Branch.io endpoint used by Tinder and other sites, allowing an attacker to execute client-side code in the context of those domains. This could have given access to users' profiles and details.

VPN Mentor Follow

Published on vpnmentor.com

Kristina Perunicic Updated on July 18, 2023 Cybersecurity Specialist

VPN Mentor (@vpnmentor), on vpnmentor.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 endpoint inserted URL parameters into the DOM without proper sanitisation, and its protocol validation could be bypassed.

Impact

The vulnerability could have allowed attackers to access users' profiles and details on Tinder and other affected sites, potentially affecting up to 685 million users.

What the attacker needed

Victim clicks a crafted link

The fix

The vulnerability was fixed by Branch.io after responsible disclosure.

How it was found

  1. Find the endpoint go.tinder.com/amp-iframe-redirect which takes scheme_redirect and redirect_strategy parameters.
  2. Modify redirect_strategy to a DOM-XSS payload.
  3. The payload executes in the context of the Tinder domain in any 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.

This is a type of cross-site scripting (XSS) where malicious code runs in a victim's browser because the page's own JavaScript mishandles part of the URL. An attacker could craft a link that, when clicked, runs their code as if it came from the trusted site, potentially stealing data.

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 Tinder

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.