{"id":"GHSA-63cr-xg3f-8jvr","aliases":["GHSA-63cr-xg3f-8jvr"],"related":[],"kind":"vulnerability","state":"published","title":"Leantime allows Stored Cross-Site Scripting (XSS)","summary":"### 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);=>>\"&amp;{(alert(1))}\" |=\"\">> mufazmi\"=\">>\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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"### 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);=>>\"&amp;{(alert(1))}\" |=\"\">> mufazmi\"=\">>\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.","format":"markdown","source":"ghsa"}],"published":"2025-02-21T22:15:52.000Z","modified":"2025-02-21T22:35:45.762Z","severity":{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"3.1.4"}],"ecosystem":"Packagist","package":"leantime/leantime","purl":"pkg:composer/leantime/leantime","source":"ghsa"}],"references":[{"url":"https://github.com/Leantime/leantime/security/advisories/GHSA-63cr-xg3f-8jvr","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/Leantime/leantime","tags":["package"],"sources":["ghsa"]},{"url":"https://youtu.be/kqKFgsOqstg","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-63cr-xg3f-8jvr","url":"https://github.com/advisories/GHSA-63cr-xg3f-8jvr","licence":"CC-BY-4.0","modified":"2025-02-21T22:35:45.762Z"}],"updatedAt":"2026-11-25T22:56:31.258Z"}