HexBrain

X / xAI · Report #867616

XSS via referrer parameter

Validstatus
mediumseverity
124upvotes
26 Oct 2020disclosed

How it was found

Description

Hi, i would like to report an XSS via javascript scheme in https://www.twitterflightschool.com/student/award/[ID]?referer=, the payload e need just a click of user to be triggered because the link will be placed in a tag.

url:https://www.twitterflightschool.com/student/award/███?referer=javascript:alert(document.domain)

I attached a video demonstration: {F818801}

Steps to reproduce

  1. go to https://www.twitterflightschool.com/student/award/████████?referer=javascript:alert(document.domain)
  2. click in "X" button in top left of the screen
  3. XSS will be triggered

Impact

it is possible to perform malicious actions on the victim's account

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original