GHSA-v4q9-437p-mhpg: Leantime allows Cross Site Scripting (XSS) and SQL Injection (SQLi)
Summary A cross-site scripting (XSS) vulnerability has been identified in Leantime. The vulnerability allows an attacker to inject malicious scripts into certain fields, potentially leading to the execution of arbitrary code or unauthorized access to user-sensitive information. The code does not include any validation or sanitization of the $GET["id"] parameter.
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).
Summary
A cross-site scripting (XSS) vulnerability has been identified in Leantime. The vulnerability allows an attacker to inject malicious scripts into certain fields, potentially leading to the execution of arbitrary code or unauthorized access to user-sensitive information. The code does not include any validation or sanitization of the $_GET["id"] parameter. As a result, it directly incorporates the user-supplied value into the source path without any checks.
Credited to 0xROI.
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
