Skip to content
XSS Disclosed report Beginner

HTML TAG INJECTION ON PROFILE NAME

rootbakar_ Follow

Originally disclosed on HackerOne

  • Triaged in 47 hours
  • Fixed in 30 days
  • Disclosed after 2 months

Allows me to change the profile name to an image tag and convert it into an html code and this tag appears perfectly on the "snippets" page.

Suppose I include an image tag with source and when another user sees it on the "https://gitlab.com/snippets/1718284" page it will appear an image of an anonymous.

I can also add a header tag in the profile name with the tag "<h1>HACKED BY TALAOHU28</h1>" and will look perfect on the same page "https://gitlab.com/snippets/1718284".

Other tags that run perfectly include: </br>

<div></div> <a href=""></a> <b></b>

Here's the complete payload I've made as the profile name

</br><h1>HACKED BY TALAOHU28</h1></br><h1>I WANT TO BACK FREE</h1></br>

Impact

other users can see the page "https://gitlab.com/snippets/1718284" as if being hacked by hackers

Attachments

Screenshot_from_2018-05-27_07-02-58.png
Screenshot_from_2018-05-27_07-02-58.png From the original on HackerOne
Screenshot_from_2018-05-27_07-03-20.png
Screenshot_from_2018-05-27_07-03-20.png
Screenshot_from_2018-05-27_07-04-57.png
Screenshot_from_2018-05-27_07-04-57.png

The original report as published on HackerOne, by rootbakar_. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is known

A low-severity XSS bug in GitLab. HackerOne made it public on 27 July 2018.

About XSS

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More from GitLab

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.