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

Valid

Reported on

Aug 17th 2021


✍️ Description

Stored xss bug using a xss payload in the Retrospectives Title when adding a new retrospective

🕵️‍♂️ Proof of Concept

Goto http://localhost/retrospectives/showBoards and click on add more and copy paste the following xss payload in the title

"><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

💥References

https://owasp.org/www-community/attacks/xss/

https://en.wikipedia.org/wiki/Cross-site_scripting

https://www.acunetix.com/websitesecurity/cross-site-scripting/

https://www.imperva.com/learn/application-security/cross-site-scripting-xss-attacks/

We have contacted a member of the leantime team and are waiting to hear back 4 months ago
Marcel Folaron validated this vulnerability 3 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