Weblate · Report #223692
Self XSS at translation page through Editor Link at demo.weblate.org
Validstatus
lowseverity
3upvotes
17 May 2017disclosed
How it was found
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