HexBrain

Semmle · Report #361287

DOMXSS in redirect param

Validstatus
highseverity
81upvotes
20 Mar 2019disclosed

How it was found

#Summary The redirect param can consist of a javascript: url, which results in XSS. If a victim visits a malicious URL and logs in, the attacker can perform actions on behalf of the victim.

#Steps to reproduce

  1. Logout
  2. Visit https://lgtm-com.pentesting.semmle.net/?redirect=javascript:prompt(document.domain)%2f%2f
  3. Log in through email

Impact

If a victim visits a malicious URL and logs in, the attacker can perform actions on behalf of the victim.

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