{"id":"GHSA-63cr-xg3f-8jvr","summary":"Leantime allows Stored Cross-Site Scripting (XSS)","details":"### Summary\nStored XSS, also known as persistent XSS, is the more damaging of the two. It occurs when a malicious script is injected directly into a vulnerable web application. \n\n### Details\nA Stored Cross-Site Scripting (XSS) vulnerability was found that could potentially compromise user data and pose a significant security risk to the platform.\n\n### PoC\n\n- Create a project\n- Navigate to project\n- Visit to the integration\n- Add malicious payload inside the webhook and save it.\n- Notice the alert dialogue indicating successful execution of the XSS payload.\n```\n'';!--\" onfocus=alert(0) autofocus=\"\"  onload=alert(3);=\"&amp;{(alert(1))}\" |=\"\" mufazmi\"=\"\n```\n```\n'';!--\" onfocus=alert(0) autofocus=\"\"  onload=alert(3);=\u003e\u003e\"&amp;{(alert(1))}\" |=\"\"\u003e\u003e mufazmi\"=\"\u003e\u003e\n```\n### POC\nhttps://youtu.be/kqKFgsOqstg\n\n\n### Impact\nThis XSS vulnerability allows an attacker to execute malicious scripts in the context of a victim's browser when they click on a specially crafted link. This could lead to various malicious activities, including session hijacking, stealing sensitive information such as cookies or login credentials, and potentially compromising the entire platform's security.","modified":"2025-02-21T22:35:45.762491Z","published":"2025-02-21T22:15:52Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2025-02-21T22:15:52Z","nvd_published_at":null,"cwe_ids":["CWE-79"],"severity":"MODERATE"},"references":[{"type":"WEB","url":"https://github.com/Leantime/leantime/security/advisories/GHSA-63cr-xg3f-8jvr"},{"type":"PACKAGE","url":"https://github.com/Leantime/leantime"},{"type":"WEB","url":"https://youtu.be/kqKFgsOqstg"}],"affected":[{"package":{"name":"leantime/leantime","ecosystem":"Packagist","purl":"pkg:composer/leantime/leantime"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"3.1.4"}]}],"versions":["2.4","2.4-beta","2.4-beta-7","2.4-beta-8","2.4.1","2.4.2","2.4.3","2.4.4","2.4.5","2.4.7","2.4.8","3.0.0","3.0.0-beta","3.0.1","3.0.2","3.0.3","3.0.4","3.0.5","3.0.6","3.0.7","3.1.0-beta","3.1.1","3.1.2","3.1.3","3.1.4","v2.0","v2.0.1","v2.0.10","v2.0.11","v2.0.12","v2.0.13","v2.0.14","v2.0.15","v2.0.2","v2.0.3","v2.0.4","v2.0.5","v2.0.6","v2.0.7","v2.0.8","v2.0.9","v2.1","v2.1-beta","v2.1-beta2","v2.1-beta3","v2.1-beta5","v2.1-beta6","v2.1.1","v2.1.2","v2.1.3","v2.1.4","v2.1.5","v2.1.6","v2.1.7","v2.1.8","v2.1.9","v2.2.0","v2.2.1","v2.2.10","v2.2.11","v2.2.2","v2.2.3","v2.2.4","v2.2.5","v2.2.6","v2.2.7","v2.2.8","v2.2.9","v2.3.0-beta","v2.3.1-beta","v2.3.10","v2.3.11","v2.3.12","v2.3.13","v2.3.14","v2.3.15","v2.3.16","v2.3.17","v2.3.18","v2.3.19","v2.3.2","v2.3.20","v2.3.21","v2.3.22","v2.3.23","v2.3.24","v2.3.25","v2.3.26","v2.3.27","v2.3.3","v2.3.4","v2.3.5","v2.3.6","v2.3.7","v2.3.8","v2.3.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/02/GHSA-63cr-xg3f-8jvr/GHSA-63cr-xg3f-8jvr.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N"}]}