GHSA-c39w-3pjx-qc7m
Leantime allows Stored Cross-Site Scripting (XSS)
Quick fix
GHSA-c39w-3pjx-qc7m — leantime/leantime: upgrade to the fixed version with the command below.
composer require leantime/leantime:^3.3Details
### 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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:composer/leantime/leantime"]}'