{"id":"CVE-2024-41662","summary":"VNote vulnerable to Markdown XSS, which leads to RCE","details":"VNote is a note-taking platform. A Cross-Site Scripting (XSS) vulnerability has been identified in the Markdown rendering functionality of versions 3.18.1 and prior of the VNote note-taking application. This vulnerability allows the injection and execution of arbitrary JavaScript code through which remote code execution can be achieved. A patch for this issue is available at commit f1af78573a0ef51d6ef6a0bc4080cddc8f30a545. Other mitigation strategies include implementing rigorous input sanitization for all Markdown content and utilizing a secure Markdown parser that appropriately escapes or strips potentially dangerous content.","aliases":["GHSA-w655-h68w-vxxc"],"modified":"2026-04-12T09:00:31.360696Z","published":"2024-07-24T16:55:37.447Z","database_specific":{"cwe_ids":["CWE-79"],"cna_assigner":"GitHub_M","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41662.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41662.json"},{"type":"ADVISORY","url":"https://github.com/vnotex/vnote/security/advisories/GHSA-w655-h68w-vxxc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-41662"},{"type":"FIX","url":"https://github.com/vnotex/vnote/commit/f1af78573a0ef51d6ef6a0bc4080cddc8f30a545"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/tamlok/vnote","events":[{"introduced":"0"},{"last_affected":"84d396f6c4ba20bd3fed02345b4bf7da07be79b8"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"3.18.1"}]}}],"versions":["2.4","3.11.0","v1.0","v1.1","v1.10","v1.11","v1.11.1","v1.12","v1.13","v1.14","v1.15","v1.16","v1.17","v1.18","v1.19","v1.2","v1.20","v1.21","v1.22","v1.3","v1.4","v1.5","v1.6","v1.7","v1.8","v1.9","v2.0","v2.1","v2.10","v2.2","v2.3","v2.4","v2.5","v2.6","v2.7","v2.7.1","v2.7.2","v2.8","v2.8.1","v2.8.2","v2.9","v2.9.1","v3.0.0-beta.1","v3.0.0-beta.10","v3.0.0-beta.11","v3.0.0-beta.2","v3.0.0-beta.3","v3.0.0-beta.4","v3.0.0-beta.5","v3.0.0-beta.6","v3.0.0-beta.7","v3.0.0-beta.8","v3.0.0-beta.9","v3.0.1","v3.1.0","v3.10.0","v3.10.1","v3.11.0","v3.12.0","v3.12.888","v3.13.0","v3.13.1","v3.14.0","v3.15.0","v3.15.1","v3.16.0","v3.17.0","v3.18.0","v3.18.1","v3.2.0","v3.3.0","v3.4.0","v3.5.0","v3.5.1","v3.6.0","v3.7.0","v3.8.0","v3.8.1","v3.9.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-41662.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/vnotex/vnote","events":[{"introduced":"0"},{"fixed":"f1af78573a0ef51d6ef6a0bc4080cddc8f30a545"}]}],"versions":["2.4","3.11.0","v1.0","v1.1","v1.10","v1.11","v1.11.1","v1.12","v1.13","v1.14","v1.15","v1.16","v1.17","v1.18","v1.19","v1.2","v1.20","v1.21","v1.22","v1.3","v1.4","v1.5","v1.6","v1.7","v1.8","v1.9","v2.0","v2.1","v2.10","v2.2","v2.3","v2.4","v2.5","v2.6","v2.7","v2.7.1","v2.7.2","v2.8","v2.8.1","v2.8.2","v2.9","v2.9.1","v3.0.0-beta.1","v3.0.0-beta.10","v3.0.0-beta.11","v3.0.0-beta.2","v3.0.0-beta.3","v3.0.0-beta.4","v3.0.0-beta.5","v3.0.0-beta.6","v3.0.0-beta.7","v3.0.0-beta.8","v3.0.0-beta.9","v3.0.1","v3.1.0","v3.10.0","v3.10.1","v3.11.0","v3.12.0","v3.12.888","v3.13.0","v3.13.1","v3.14.0","v3.15.0","v3.15.1","v3.16.0","v3.17.0","v3.18.0","v3.18.1","v3.2.0","v3.3.0","v3.4.0","v3.5.0","v3.5.1","v3.6.0","v3.7.0","v3.8.0","v3.8.1","v3.9.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-41662.json","vanir_signatures":[{"id":"CVE-2024-41662-dd2f3748","digest":{"line_hashes":["312358259338848447151473066570728379668","209557126185678698368457005217280241332","173727487065685145523385291557327501648","140408642822820227362229914135395016665","24043619075886859550884577768049107608","119037444669586636418080185999096546565"],"threshold":0.9},"signature_version":"v1","target":{"file":"src/widgets/framelessmainwindow/framelessmainwindowwin.h"},"source":"https://github.com/vnotex/vnote/commit/f1af78573a0ef51d6ef6a0bc4080cddc8f30a545","deprecated":false,"signature_type":"Line"}],"vanir_signatures_modified":"2026-04-12T09:00:31Z"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"}]}