Cross-site Scripting (XSS) - Stored in leantime/leantime
Jul 5th 2021
Stored xss bug using a xss payload in the Milestone Title when adding a new milestone
🕵️♂️ Proof of Concept
Goto http://localhost/tickets/roadmap and click on add Milestone and copy paste the following xss payload
"><img src=x onerror=alert(document.cookie)>
Click on safe and see the xss popup with the cookie.
Possible to steal admin cookies or take over another account via cookie grepping.
Validate user input