{"id":"CVE-2024-49362","published":"2024-11-14T17:37:09Z","modified":"2024-11-14T21:39:43Z","title":"Remote Code Execution on click of <a> Link in markdown preview","vendor":"laurent22","product":"joplin","tier":"tail","description":{"text":"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 <a> link within untrusted notes. The issue arises due to insufficient sanitization of <a> 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01065,"percentile":0.65509,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/laurent22/joplin/security/advisories/GHSA-hff8-hjwv-j9q7","tags":["x_refsource_CONFIRM"]}],"priority":{"score":18.5,"factors":[{"name":"EPSS percentile","points":13.1},{"name":"CVSS severity","points":5.39}]},"vendorSlug":"laurent22","affectedVersions":[{"vendor":"laurent22","product":"joplin","versions":["< 3.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2024-11-14T21:38:47.636782Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"joplin","vulnerableRanges":[">=3.0.0, <3.1.0"],"patched":["3.1.0"],"from":["GHSA-hff8-hjwv-j9q7"],"provenance":"source"}],"summary":{"text":"Joplin desktop, the note-taking application by laurent22, contains a flaw in its markdown preview where insufficient sanitisation of <a> tag attributes, introduced through the Mermaid rendering feature, allows untrusted HTML to run inside the Electron window. An attacker who supplies a crafted note can achieve arbitrary shell command execution by getting a user to click a link in that note, and the attack requires local access to the system, a high-privilege account, and user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:34:33Z"},"euvd":{"id":"EUVD-2024-3261","exploited":false,"provenance":"source"}}