Snapchat · Report #125849
XSS found on Snapchat website
Validstatus
38upvotes
26 May 2018disclosed
How it was found
Hi Snapchat Team,
I've found a reflected XSS vulnerability on this page: https://www.snapchat.com/add/snapchat
Example: https://www.snapchat.com/add/%22%3E%3Ch1%3EXSS%3C%2Fh1%3E
Note: you should visit the page with a mobile user-agent since the server displays different information based on the User-Agent HTTP header sent by the browser.
There are 6 places where the username isn't protected against XSS attacks:
- 4
metatags: twitter:title, twitter:image, og:title, og:image - 1
objecttag: snapcode - 1
h2tag: username
This could lead to JavaScript execution, UI redressing or open redirects.