GHSA-c39w-3pjx-qc7m: Leantime allows Stored Cross-Site Scripting (XSS)
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.
Published Feb 21, 2025
Affected packages
leantime/leantime
- Ecosystem
- Composer (PHP)
- Affected
- < 3.3
- Fixed in
- 3.3
- Check
composer show leantime/leantime
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to mnqazi.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesCVE-2026-85990
Leantime: Any Authenticated User Can Self-Escalate to Admin via Unauthorized JSON-RPC Methods
high8.8Oct 15, 2026GHSA-qrfh-cc86-vc8c
Leantime has HTML injection through firstname and lastname fields
medium5.4Mar 5, 2026CVE-2025-28254
Leantime affected by Improper Neutralization of HTML Tags
medium6.5Feb 21, 2025GHSA-3hfj-qcvj-4hx8
Leantime has Missing Authorization Check for Host Parameter
low2.3Feb 21, 2025GHSA-52xf-h226-pfgx
Leantime allows Refelected Cross-Site Scripting (XSS)
medium5.9Feb 21, 2025GHSA-63cr-xg3f-8jvr
Leantime allows Stored Cross-Site Scripting (XSS)
medium5.9No fixFeb 21, 2025
