Advisory

GHSA-c39w-3pjx-qc7m

Also known as: None

Summary

Leantime allows Stored Cross-Site Scripting (XSS)

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2025-02-21 22:48 UTC
Modified
2025-02-21 23:12 UTC

Affected packages and fixes

leantime/leantime

Packagist · All systems

Affected

  • introduced 0, fixed 3.3 (ecosystem)

Fixed versions

3.3

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences