CVE-2024-27477: leantime · Cross-site Scripting
Affects leantimeSource CVE Database V5
Not known to be exploited · CVSS 6.1 Medium.
Data as of 26 Oct 2026, 17:16 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 49% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 10 Apr 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubleantime/leantimepkg:github/leantime/leantimeOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Organizations should immediately review and restrict input validation on the ticket title field to disallow or properly encode HTML and JavaScript content. Implement strict Content Security Policy (CSP) headers to reduce the impact of any injected scripts. Monitor logs for unusual ticket creation or modification activity that includes suspicious script tags or payloads. If possible, restrict access to the ticketing system to trusted users and networks until a patch is available. Employ web application firewalls (WAFs) with rules targeting XSS payloads and SSRF patterns. Educate users to avoid clicking on suspicious ticket links or content. Developers should prioritize releasing a patch that sanitizes and encodes user inputs correctly and validates server-side requests to prevent SSRF. Additionally, network segmentation and limiting server outbound requests can reduce SSRF impact. Regularly update and audit the Leantime installation and dependencies for security fixes.
Description
In Leantime 3.0.6, a Cross-Site Scripting vulnerability exists within the ticket creation and modification functionality, allowing attackers to inject malicious JavaScript code into the title field of tickets (also known as to-dos). This stored XSS vulnerability can be exploited to perform Server-Side Request Forgery (SSRF) attacks.
References
- github.com/Leantime/leantime/blob/264a7dbc2c9b18f574821bf27dd568a287ee8498/app/Domain/Tickets/Controllers/ShowTicket.php (opens in a new tab)
- drive.proton.me/urls/35CKB8RV04 (opens in a new tab)
- github.com/dead1nfluence/Leantime-POC/blob/main/README.md (opens in a new tab)
- vicarius.io/vsociety/posts/analyzing-leantime-xss-for-the-fun-time-diving-into-cve-2024-27477-for-a-beginner (opens in a new tab)