{"id":"CVE-2024-49362","summary":"Remote Code Execution on click of \u003ca\u003e Link in markdown preview","details":"Joplin is a free, open source note taking and to-do application. Joplin-desktop has a vulnerability that leads to remote code execution (RCE) when a user clicks on an \u003ca\u003e link within untrusted notes. The issue arises due to insufficient sanitization of \u003ca\u003e tag attributes introduced by the Mermaid. This vulnerability allows the execution of untrusted HTML content within the Electron window, which has full access to Node.js APIs, enabling arbitrary shell command execution.","aliases":["GHSA-hff8-hjwv-j9q7"],"modified":"2026-04-10T05:17:56.768510Z","published":"2024-11-14T17:37:09.700Z","database_specific":{"cwe_ids":["CWE-94"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49362.json","cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49362.json"},{"type":"ADVISORY","url":"https://github.com/laurent22/joplin/security/advisories/GHSA-hff8-hjwv-j9q7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-49362"}],"affected":[{"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"fixed":"3.1"}]}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-49362.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:L"}]}