# GHSA-c39w-3pjx-qc7m: Leantime allows Stored Cross-Site Scripting (XSS)

- Severity: High (CVSS:4.0, scored by GitHub) `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2025-02-21T22:48:46.000Z
- Modified: 2025-02-21T23:12:28.248Z
- Weaknesses: CWE-79

## 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.

(As written by GitHub Advisory Database.)

## Affected

- leantime/leantime (Packagist): before 3.3

## References

- <https://github.com/Leantime/leantime/security/advisories/GHSA-c39w-3pjx-qc7m> (web)
- <https://github.com/Leantime/leantime> (package)

## Sources

- GitHub Advisory Database: [GHSA-c39w-3pjx-qc7m](https://github.com/advisories/GHSA-c39w-3pjx-qc7m), CC-BY-4.0, modified 2025-02-21

---

Page: https://cve.day/GHSA-c39w-3pjx-qc7m · Whole record: https://cve.day/GHSA-c39w-3pjx-qc7m.json · Rebuilt by cve.day 2026-11-25T22:56:31.823Z
