HexBrain

Gratipay · Report #84740

Stored XSS On Statement

Validstatus
highseverity
8upvotes
3 Sept 2015disclosed

How it was found

Hello, I've Found a Stored Cross-Site Scripting (XSS) In Gratipay.com .. This XSS is in The Statement, It Happens Because You're Not Sanitizing This From Markdown Malicious Codes.

Steps To Reproduce :

  1. Login To Your Account At Gratipay.com
  2. Go To Your Profile Page .. And Click Edit Statement
  3. Enter Any Of These 2 Payload :
  • [notmalicious](javascript:window.onerror=alert;throw%20document.cookie)
  • <javascript:alert(document.cookie)>
  1. Click Save

Now You'll See 2 Links (See Links.png) .. Click On Any Of These 2 Links And The XSS Payload Will Be Triggered :)

Also This is Dangerous Because The Profile's Statement is Public .. So Anyone Visit The Attaker's Profile And Click On This Malicious Link, XSS Will Be Triggered On His Browser.

Take a Look At My Profile On Gratipay : https://gratipay.com/~geekpero/.

Please Let Me Know If You Need Any Information.

References About Markdown XSS:

Best Regards, Ebram Marzouk

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