HexBrain

GitLab · Report #384255

Stored XSS on Issue details page

Validstatus
highseverity
16upvotes
30 Oct 2018disclosed

Summary

The detail page of Issue (the page that provides the content of an Issue) is vulnerable to Stored XSS.

How it was found

Summary: The detail page of Issue (the page that provides the content of an Issue) is vulnerable to Stored XSS.

Description: The two exploits are via the function of submittin an issue or the function of editing an issue. This vulnerability is reproduced in Firefox andChrome. IE11 andEdge are not. I did not test the reproduction on other browsers.

Steps To Reproduce:

  1. Sign in to GitLab.
  2. Click the "[+]" icon.
  3. Click "New Project".
  4. Fill out "Project name" form with "PoC".
  5. Check the check box of "Public".
  6. Click "Issues"
  7. Click "New issue" button.
  8. Fill out the each form as follows:
    • Title: PoC
    • Description: ![xss" onload=alert(1);//](a)
  9. Click "Submit issue".

Furthermore, when editing an already existing issue, you can also reproduce by entering A in the "Description" form and saving it.

Impact

The security impact is the same as any typical Stored XSS.

Thank you!

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