Leantime allows Stored Cross-Site Scripting (XSS)
Impact
Leantime allows stored cross-site scripting (XSS) in the API key name while generating the API key.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| Earlier releases before 3.3Ecosystem versions | 3.3 |
Version evidence: OSV · GHSA-c39w-3pjx-qc7m
View original version evidence (100 explicit versions)
Original source description
Description
Leantime allows stored cross-site scripting (XSS) in the API key name while generating the API key.
Impact
Any low privileged user like manager, or editor, can create an API key with XSS payload. When admin will visit the Company page, the XSS will automatically get triggerred leading to the unauthorized action performed from the ADMIN account. Like, removing any user, or adding someone else as high privilege, and many more.