Self XSS at translation page through Editor Link at demo.weblate.org
Originally disclosed on HackerOne
- Fixed in under an hour
- Disclosed after 22 days
User input is not sanitized properly at Editor link causing self xss.
Steps to reproduce
- Navigate to https://demo.weblate.org/accounts/profile/#preferences
- Provide Editor link as javaScript:alert(document.cookie);//confirm(1); and click on Save
- Navigate to English Translation page of the project at https://demo.weblate.org/translate/hello/master/en_GB/?type=all
- Click on the main.c under Source Information
- Self XSS executes showing user cookie
Mitigation: Proper server side filtering of user input
Attachments

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 Weblate. HackerOne made it public on 17 May 2017.
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.