Cross-site Scripting (XSS) - Stored in leantime/leantime
Aug 17th 2021
Stored xss bug using a xss payload in the new event title when adding a new event
🕵️♂️ Proof of Concept
Goto http://localhost/calendar/addEvent and click on add event 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