VDB
Sign up
HIGH7.4

GHSA-v4q9-437p-mhpg

Leantime allows Cross Site Scripting (XSS) and SQL Injection (SQLi)

Quick fix

GHSA-v4q9-437p-mhpg — leantime/leantime: upgrade to the fixed version with the command below.

composer require leantime/leantime:^3.3

Details

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

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/leantime/leantime
Introduced in: 0Fixed in: 3.3
Fixcomposer require leantime/leantime:^3.3

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"]}'