Cross-site Scripting (XSS) - Stored in leantime/leantime


Reported on

Jul 5th 2021

✍️ Description

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. alt text

💥 Impact

Possible to steal admin cookies or take over another account via cookie grepping.

💥 Remediation

Validate user input


5 months ago


@maintainer any thoughts about this?

We have contacted a member of the leantime team and are waiting to hear back 4 months ago
leantime/leantime maintainer validated this vulnerability 4 months ago
ribersec has been awarded the disclosure bounty
The fix bounty is now up for grabs
Marcel Folaron confirmed that a fix has been merged on 7cbdbf 3 months ago
Marcel Folaron has been awarded the fix bounty