Cross-site Scripting (XSS) - Stored in leantime/leantime
Aug 17th 2021
Stored xss bug using a xss payload in the Ideas area when adding a comment in the discussion area
🕵️♂️ Proof of Concept
Goto http://localhost/ideas/showBoards and click on add an idea and copy paste the following xss payload in the discussion field
"><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